Can I use a tag inside @ajax.actionlink() ? I came across an example of the menu http://bootsnipp.com/snippets/7N2le where the menu items look like

 <a href="#" class="list-group-item text-center"> <h4 class="glyphicon glyphicon-search"></h4><br />text </a> 

I decided to use <a> @Ajax.ActionLink instead. for my purposes this is the thing. But the problem is that because of this, <h4 class="glyphicon glyphicon-search"></h4><br /> flies. That's the question, how to be? To stay with Ajax and leave the menu design without any special changes to css.

    1 answer 1

    See which link generates @ Ajax.ActionLink and try to make this link by other means of Ajax'a Javascript or mvc and paste into your "a href ="