Knowledge Point 3-5: Use a strong Template

Source: Internet
Author: User

When you start to use a strong type view based on a presentation model, you will see more and more styles (such as text boxes, single-choice buttons, check boxes, and password fields ).

  • The Boolean attribute in the model class is almost certainly expected to be displayed as a check box on the form.
  • The email and password attributes in the model class all have specific display requirements.
  • It is rare that the input element does not include the corresponding verification message.

ASP. net mvc provides us with a method for rendering decisions based on model metadata, generating HTML fragments based on view model attributes.

Knowledge Point 3-5: Use a strong Template

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.