Use 'class' (or other reserved keyword) as property on anonymous type
Can You try with escaping the class with : @.
So, please modify your code to :
<%: Html.ActionLink("Click Here", "Action", null, new {@class="myClass"})%>
Can You try with escaping the class with : @.
So, please modify your code to :
<%: Html.ActionLink("Click Here", "Action", null, new {@class="myClass"})%>