Advertisement

Model Templates

  • Adam Freeman
  • Steven Sanderson

Abstract

The HTML helpers that we looked at in the previous chapter, such as Html.CheckBoxFor and Html.TextBoxFor, specify the HTML element required to edit a piece of data. The MVC Framework supports an alternative approach, known as templated view helpers, where we specify which model object or property we want to display or edit and leave the MVC Framework to figure out what HTML elements should be used.

Keywords

Model Template Partial View Template Search Public Class Model Metadata 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Adam Freeman and Steven Sanderson 2011

Authors and Affiliations

  • Adam Freeman
  • Steven Sanderson

There are no affiliations available

Personalised recommendations