I hvae a problem with ActionLink. Here’s my code:
@Html.ActionLink("Home", "Index", "Home", new { @class = "disabled" })
And the result:
<a class="disabled" href="/?Length=4">Home</a>
Can someone tell me why it’s give me “?Length=4”. Am I doing something wrong when I request it to use the class of disabled?
I think you’re using the wrong method signature…
Try using: