请帮助多个提交按钮 [英] please help in multiple submit buttons
本文介绍了请帮助多个提交按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我为多个提交按钮引用此链接
http://blog.ashmind.com/2010/03/15/multiple-submit-buttons-with-asp-net-mvc-final-解决方案/ [ ^ ]
但每次
我的方法没有起火
管理员/行动此方法被解雇
解决方案
你创建了HttpParamActionAttribute吗?
还要确保你已经装饰了你正在使用的所有动作,
[HttpParamAction ]
I ref this link for multiple submit buttons
http://blog.ashmind.com/2010/03/15/multiple-submit-buttons-with-asp-net-mvc-final-solution/[^]
but each time
my method not getting fire
Admin/Action this method getting fired
解决方案
Have you created HttpParamActionAttribute ?
Also make sure you have decorated all of your actions which you are using, with
[HttpParamAction].
这篇关于请帮助多个提交按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文