Skip to main content

Templated Helper Methods

  • Chapter
  • First Online:
Pro ASP.NET MVC 5
  • 3953 Accesses

Abstract

The HTML helpers that I looked at in the previous chapter, such as Html.CheckBoxFor and Html.TextBoxFor, generate a specific type of element, which means that I have to decide in advance what kinds of elements should be used to represent model properties and to manually update the views if the type of a property changes.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 89.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2013 Adam Freeman

About this chapter

Cite this chapter

Freeman, A. (2013). Templated Helper Methods. In: Pro ASP.NET MVC 5. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-6530-6_22

Download citation

Publish with us

Policies and ethics