Error!
Success!

MVC Passing parameters and attributes in HTML ActionLink

0
kicks

MVC Passing parameters and attributes in HTML ActionLink  (Unpublished)

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"})


Kicked By:
Drop Kicked By: