Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Redirecting after submit button #53

Open
jphellemons opened this issue Jun 17, 2015 · 0 comments
Open

Redirecting after submit button #53

jphellemons opened this issue Jun 17, 2015 · 0 comments

Comments

@jphellemons
Copy link

Hi I have something similar to http://stackoverflow.com/questions/12172571/redirecting-with-k-mvc

@ko.Html.Button("Commit Order", "CommitOrder", "Cart", null, new { @class = "btn btn-default" })

The debugger gets in the commitorder method in the cartcontroller, but when i return json("redirecturl") it does not work. not returing json and redirecting does not work either,

the thing is that i have a case in my code behind where i calculate to what route i need to redirect. Please let me know if you need to see more code or if my issue is not clear.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant