295 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