Navigation and service panel


Content

Posts tagged "Forms"

Add custom attributes to form tag with Sitecore MVC

By Kevin Brechb├╝hl on 18. August 2014, No comments

A form tag often needs additional attributes like the css class. Because in Siteore MVC we can have multiple renderings and controllers on one page request, this can't be done exactly the same way as in pure ASP.NET MVC. In this small blog post I will explain you why and how you can do this with Sitecore MVC.

read on
Categories  ASP.NET MVC  Best Practice Tags  Attributes  Forms  Html