|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Clear viewstate on a datagrid
I have a datagrid that is maintaining viewstate from several hits ago. I call up the datagrid with a query(we will call this Visit1). I do some stuff, go visit another page, sometimes even shut down the computer. Later I visit the grid again with a different query (Visit2). It renders exactly Visit2's query the first time but on postback it gives me the results of Visit1.
Is there a way to make sure all my controls' viewstates are clear everytime the application is launched? Thank you! Eva |
|
#2
|
|||
|
|||
|
Did you ever Figure this out? I have a similar issue. Where View state seems to be holding info that I don’t want anymore. Please let me know if you have this solved.
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > .NET Development > Clear viewstate on a datagrid |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|