Re: Multiple submit buttons with ASP.NET MVC: final solution
You can expose a property instead of hardcode a default action name like "Action". Using as [HttpParamAction(Name="Action")]public ActionResult ...
View ArticleRe: Multiple submit buttons with ASP.NET MVC: final solution
Very useful. Thanks for sharing!
View ArticleRe: Multiple submit buttons with ASP.NET MVC: final solution
 I have resharper installed and when I use "BeginForm("Action" ...", I also get an error but it's an error that don't prevent the compiler to build the application. For this reason, I put a dummy...
View ArticleRe: Multiple submit buttons with ASP.NET MVC: final solution
Your using HTML.Begin Form statement does not work. You aren't specifying a controller name nor are you specifying a valid action, so how does it work?What am I missing?My controller name is:...
View ArticleRe: Multiple submit buttons with ASP.NET MVC: final solution
Interesting. If you return View(), yes, it might assume the View name is Action.Try to specify the view name explicitly (or do a redirect).
View ArticleRe: Multiple submit buttons with ASP.NET MVC: final solution
What do you mean by specify the view name explicitly? Specify Action as a view?Yes, I am returning a view. Any chance you would put together a sample project with this functionality working?I don't...
View ArticleRe: Multiple submit buttons with ASP.NET MVC: final solution
If you do not want to do a redirect, try returning View("YourViewName") while making sure view YourViewName exists.If you just call View() without specifying view name it may assume your want a view...
View ArticleRe: Multiple submit buttons with ASP.NET MVC: final solution
One of the best and most inspirational articles I have read in a long time! Saved me hours of work and presents a beautiful solution! Suggest adding alternative constructors to HttpParamActionAttribute...
View ArticleRe: Multiple submit buttons with ASP.NET MVC: final solution
Really good, although I added a data-action for the standard action as well, as I'm using Ajax.BeginForm
View ArticleRe: Multiple submit buttons with ASP.NET MVC: final solution
It worked for mehttp://www.mixedresponse.com/B...
View ArticleRe: Multiple submit buttons with ASP.NET MVC: final solution
Thank you Andrey,This solved my problem perfectly.
View ArticleRe: Multiple submit buttons with ASP.NET MVC: final solution
Hi,I am getting below error"An item with the same key has already been added" when i was calling that controller after an event
View ArticleRe: Multiple submit buttons with ASP.NET MVC: final solution
Great solution! Thanks so much!
View ArticleRe: Multiple submit buttons with ASP.NET MVC: final solution
It's not working in mvc 3. With the razor framework The action name should the view page name right
View ArticleRe: Multiple submit buttons with ASP.NET MVC: final solution
hi Andrey Shchekin,It did not work for me. Below is the solution--Controller======================== public class TestController : Controller{public ActionResult Index(){return View(); }...
View ArticleRe: Evaluating Javascript in WatiN
The WatiN API has changed and the above code does not work without some changes. I made some small modifications and enhancements here:https://gist.github.com/pagebr...
View ArticleRe: Comparing .NET DI (IoC) Frameworks, Part 1
I am interested to know about simple injector. AS it fast, mono dependent. Kindly provide me information related to Simple injector.
View ArticleRe: Multiple submit buttons with ASP.NET MVC: final solution
Works great for me in an Umbraco-SurfaceController. Thanks a million!
View ArticleRe: Multiple submit buttons with ASP.NET MVC: final solution
.net MVC input button click then controller function not a call
View ArticleRe: Multiple submit buttons with ASP.NET MVC: final solution
How can your nav on your blog have more width than the content area? When did you create tgis site 1998?
View ArticleRe: Multiple submit buttons with ASP.NET MVC: final solution
Hey Andrey, Great solution for rerouting the Actions on partial views. I have mine wired up and working well except for one problem. I'm wondering if you have an idea how I might go about solving it....
View ArticleRe: Multiple submit buttons with ASP.NET MVC: final solution
hi naveenkumar shindhe my problem is different i am using a layout.cshtml in that i am having header and footer. in header i created button called save.which has to perform save which every page is...
View ArticleRe: Multiple submit buttons with ASP.NET MVC: final solution
In MVC3 we have XXXXXAsync and XXXXXCompleted action method names. I cant see this working for MVC3 framework.
View ArticleRe: Multiple submit buttons with ASP.NET MVC: final solution
Hi Steven,Would you please tell me how to fix the (1) you mentioned?ThanksAlex
View Article