Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8909681
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T03:29:37+00:00 2026-06-15T03:29:37+00:00

They both look visually similar on the web page, but the HTML for each

  • 0

They both look visually similar on the web page, but the HTML for each of them is fairly different:

<input id="TEST" name="TEST" type="text" value="this one's filled in, but editor isn't">
<input class="text-box single-line" id="TEST" name="TEST" type="text" value="">

The docs say Returns an HTML input element for each property in the object that is represented by the expression. for Html.Editor

While Html.TextBox says Returns a text input element by using the specified HTML helper and the name of the form field.

Does that mean you pass a model’s string name to Html.Editor and then it’ll create a text input for each of it’s properties, while a Html.TextBox‘ll just be a dumb text input with nothing else behind the scenes?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T03:29:39+00:00Added an answer on June 15, 2026 at 3:29 am

    HTML.Textbox:

    Returns a text input element by using the specified HTML helper and the name of the form field.

    HTML.Editor:

    This method generates different HTML markup depending on the data type of the property that is being rendered, and according to whether the property is marked with certain attributes.

    • If the property is typed as a primitive type (integer, string, and so on), the method renders an HTML input element for a text box.

    • If a property is marked with a data-type attribute or a UIHintAttribute attribute, the attribute specifies the markup that is generated for the property. For example, if the property is marked with the MultilineText attribute, the method generates markup for a multi-line text box.

    • If the object contains multiple properties, for each property the method generates a string that consists of markup for the property name and an input element to edit the property value.
    • If the property is a boolean then it will load a checkbox.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Both, GCDAsyncSocket and AsyncSocket titles state they are asynchronous, both look similar. However, all
I have a query that UNION 's two somewhat similar datasets, but they both
I can't decide which to use, they both look pretty similar. It's for a
What is the difference between DMA and memory-mapped IO? They both look similar to
I have 2 servers which have different specifications but they both run the same
They both seem exceedingly similar and I'm curious as to which package would be
I have two CSS tranistions as below (they both cover the page and then
How to update a label by button clicks when they both are in different
So I have 2 pages. They both have the same master page and are
I have two arrays, they both look like array( array('key_id' => 1, 'value' =>

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.