Asp.Net MVC custom controls - container
- by Alan
Is there a way to make helper in Asp.Net MVC to wrap other html like this:
<div class="lightGreyBar_left">
<div class="lightGreyBar_right">
<!--Content-->
<h3>
Profiles</h3>
<div class="divOption">
<%= Html.ActionLinkWithImage("Create new", "add.png", Keys.Actions.CreateProfile, "add")%>
</div>
<!--Content-->
</div>
</div>
So that helper will render containing divs and content that is passed to helper method as parameter.