Well, I can not find the answer to this question:
<%: Html.ActionLink("Click Here", "Action", null, new {class="myClass"})%>
I want to set the CSS class attribute of the generated element.
Obviously, C # will not allow me to use the "class" as the name of a member of an object.
What should I do?
source
share