开发者

GridView Sort Problem after Browser's Back Button Clicked

I have a web form with a gridView inside an UpdatePanel.

After make a search and sort the gridview the user can click in a row to select the value to be edited, when it's clicked another page is opened.

The problem is, when the user click on the Browser's Back Button on EditPage the Search page doesn't keep the开发者_StackOverflow中文版 Sort and the Search previously set.

Any insight will be considered, please guys give me some way to get in!


You, have to store the Searched result seperately in a DataView and should load into the Datagrid. Before going to the Edit Page Save the Sorting Term whether may be ASC or DESC in some Session Variable, and after clicking Back Button Resort with the Sorting Term.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜