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

Prefix Editing 

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