Reputation: 103677
In a Action, I am calling
RedirectToAction("login", new { test = "1" });
And the page doesn't seem to be redirecting. The action "login" is in the same controller.
What could the issue be?
Upvotes: 8
Views: 1983
Reputation: 41
RedirectToAction(... will not work if you are using AJAX form. ajax request simply ignore the redirect call
Upvotes: 3