开发者

RedirectToAction problem

开发者 https://www.devze.com 2022-12-21 00:29 出处:网络
I have a Controller: AdminPageController, in which I have the following actions: Index, Create, Save My save action is as follows:

I have a Controller: AdminPageController, in which I have the following actions: Index, Create, Save

My save action is as follows:

public ActionResult Save(string[] inputs, int columnsCount)
{
.....
    return  RedirectToAction("Index");
}

I can see that the debugger passes throug the redurectToAction , 开发者_开发知识库but the index is not displayed. I can see that the routing is written as follows:

http://localhost:55405/AdminPage/Create#

What is wrong and how can I solve it?


Please use this utility displays the route data pulled from the request of the current request in the address bar. So you can type in various URLs in the address bar to see which route matches. http://haacked.com/archive/2008/03/13/url-routing-debugger.aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号