Is it possible to Response.Redirect in aspx that returns a view from MVC?
I have an login.aspx page that i need upon successful login to redirect to a view in ~/Vie
try this:
return RedirectToAction("Index");
assuming that this is in the same controller , if not:
return RedirectToAction("Index", "Home");
in the MVC framework you don't redirect to views directly , you redirect to Actions, then there me be some logic in there , and based on the logic from the Action it will choose a view and fill out a view model if necessary