London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
Nevermind, sometimes the solution is right in front of you... :)
@Html.PropertyFor(m=>m.MyContentArea, new { CssClass = "row", CustomTag = "section", ChildrenCustomTagName = "article", ChildrenCssClass = "span4"})
Is there now a better solution than forcing ChildrenCssClass that appends to the class?
Could one decide how may blocks/object that fits into a ContentArea?
I'm looking for the MVC helper equivalents of the Property control's properties used for customizing the rendering of content areas.
In other words, how to set the element and class names of the content area container as well as the individual block containers in MVC templates?
Is this even possible using the PropertyFor helper?
Thanks!