开发者

mvc back to previous view

Suppose:

View List X

View List Y

View Details

View Route

User selects Details View from either List X or Y View and clicks through to the Route View. When he is done on the Route View he clicks the Back Button to go the the Details开发者_如何学JAVA View again and if he wishes clicks the Back Button there to go back to the List View (X or y depending where he came from) again.

What is the easiest way in MVC to make the back button point to the right page even if the page is reloaded.

UrlReferrer won't work because coming from the Route View back to the Details View would make the UrlRefferer point to the Route View and not to one of the Lists.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜