开发者

GridView Sort Problem after Browser's Back Button Clicked

开发者 https://www.devze.com 2023-03-20 02:46 出处:网络
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 op

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

精彩评论

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