how to call action in html button using asp.net MVC
how to call action in html button using asp.net MVC
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Srikanth ReddyPosted Jun 10, 2014, 4:56 AM
Try This ::
<% Html.BeginForm(Html.Beginform("Action_Name","Controller_Name", FormMethod.Post));%>
Jignesh TrivediPosted May 27, 2014, 4:33 AM
Is it still not working?
Please refer below link it might help you.
http://arturito.net/2011/01/25/asp-net-mvc2-jquery-form-post-with-json-tutorial/
S SreelakshmiPosted May 27, 2014, 3:32 AM
Anupam SinghPosted May 27, 2014, 3:26 AM
Anupam SinghPosted May 27, 2014, 3:25 AM
S SreelakshmiPosted May 27, 2014, 3:24 AM
if u have any source code for this solution send me that file .
S SreelakshmiPosted May 27, 2014, 3:21 AM
S SreelakshmiPosted May 27, 2014, 3:20 AM
send me the exact solution to this problem
Anupam SinghPosted May 27, 2014, 3:16 AM
<% Html.Beginform("Action_Name","Controller_Name");%> // you were making mistake here
<% Html.EndForm();%>
Anupam SinghPosted May 27, 2014, 3:14 AM
S SreelakshmiPosted May 27, 2014, 3:11 AM
it is not working give the solution...
S SreelakshmiPosted May 27, 2014, 2:58 AM
Anupam SinghPosted May 27, 2014, 2:56 AM
we typically invoke post action with Button control in MVC View
like :
in Razor View