Click here to Skip to main content
15,917,481 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Friends
any body help me, how to call mvc controller action from aspx button click
Posted
Comments
Renuka Ruke 24-Feb-14 6:47am    
not working

On click event, rediret to page '~/controllerName/ActionRessultName'
 
Share this answer
 
Comments
Renuka Ruke 24-Feb-14 6:48am    
not working
R-a-v-i-k-u-m-a-r 24-Feb-14 6:49am    
are you geting any error?
XML
<form method="post" action="<%: Url.Action("About", "Home") %>">
   <input type="submit" value="Click me to go to /Home/About" />
</form>


or use this link:

http://stackoverflow.com/questions/16064481/asp-net-mvc-4-calling-method-from-controller-by-button
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900