I'm trying to make a Html.Actionlink() that receive something and put it in a new tab, the problem is that the button is a input type.
I have the input like this,
<input type="submit" class="btnText" id="previewButton2" value="Preview" />
What I'm doing in the input do it in the ActionLink, but it's not working and I don't Know Why.@Html.ActionLink("Preview", "/", new { Id=Model.Id}, new { @class = "btnText", type = "submit", target = "_blank" })
How can I use the input tag in the ActionLink or what should I do that maybe work?