MVC Passing parameters and attributes in HTML ActionLink

added by alekseevkm
11/6/2012 12:26:48 PM

0 Kicks, 97 Views

To do this, you must specify them in the parameter routeValues. The example also shows how to set the properties of HTML, they must indicate htmlAttributes. @ Html.ActionLink ("LinkText", "SomeAction", new {Param1 = Model.Param1, Param2 = Model.Param2}, new {@ class = "active"})


0 comments