I am creating a state machine which, according to some dynamic values, different action controls (partial view) Presents.
I started writing HtmlHelper extension methods to use the proper html for each state. Something like this:
@if (model.state == "NEW") {Html.RenderActionEdit () Html.RenderActionDelete ()} and so on I am doing simple ways in the form:
Back MvcHtmlString.Create ("
Comments
Post a Comment