我想创建一个按钮,当单击时调用一个动作。我使用Html.ActionLink创建一个链接,但是没有Html.ActionButton。还有其他一些方法吗?
解决方法
Is there some other way?
你可以使用html< form> ;::
@using (Html.BeginForm("someAction","someController")) { <button type="submit">OK</button> }
Is there some other way?
你可以使用html< form> ;::
@using (Html.BeginForm("someAction","someController")) { <button type="submit">OK</button> }