AndreyAkinshin / knockout-mvc

Power of Knockout.js for ASP.NET MVC
http://knockoutmvc.com
203 stars 125 forks source link

Posting data with redirecting #32

Closed drvic10k closed 11 years ago

drvic10k commented 11 years ago

In a situation, when you want to post data and then redirect to some other action, this is not possible with the auto-generated Button, because it expects the model as a return value. I ended up using the raw HTML

drvic10k commented 11 years ago

I made this change and accidentally commited to master on my forked repo, so I will figure out, how to branch it and then make a pull request for this feature.