getting a gridview and dropdownlist to remember their states after navigate away and back button scr
Posted
by nat
on Stack Overflow
See other posts from Stack Overflow
or by nat
Published on 2010-04-08T12:07:00Z
Indexed on
2010/04/14
0:33 UTC
Read the original article
Hit count: 273
hi
i have a page filling a gridview which is all working fine.
the grid is basically the result of a search .. the filters for which are a number of dropdowns and a couple of textboxes the data from the grid and dropdowns are saved in the session and the whole page lives inside an updatepanel
when i navigate away from the page (as it happens by clicking a link inside the grid) and then back button to it, all the droppers are back to their unselected values and the grid is nowhere to be seen..
i understand that this is because of the scriptmanager doesnt do 'standard' postbacks so the browser doesnt realise what has happened.
however i have set the EnableHistory to true in the scriptmanager
is there an easy way to get this to remember without dropping the updatepanel/scriptmanager?
also to complicate things further the scriptmanger /updatepanel is actually in a master page. so not really sure how i can get the navigate bits to work in the scriptmanager.. clearly i am a bit confuised and any help that someone could provide would be happily received
thanks nat
© Stack Overflow or respective owner