开发者

navigate on another page in asp.net mvc on button click

开发者 https://www.devze.com 2023-01-18 09:20 出处:网络
I have 2 buttons Edit and Next . I have Action written on controller for the Next button. Bu开发者_如何学Ct how to navigate , where should i have to give action link and its parameters? m using asp.ne

I have 2 buttons Edit and Next . I have Action written on controller for the Next button. Bu开发者_如何学Ct how to navigate , where should i have to give action link and its parameters? m using asp.net mvc 2. Is i need to write the JavaScript or JQuery ?


If you have SomeAction in SomeController, invoke it so :

<%= Html.ActionLink("Link Text", "SomeAction", "SomeController" ) %>

but I might not understand your request; if so, please embellish.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号