Clear view state

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

H
I have a htmlcontrol table that set to visible=true or false alternatlly
Is there any elegant/builtin way, to clear the view state of al the webcontrols that contained within that table
 
Create a recursive function that looks at a Control and clears its
ViewState, and then calls itself for every Child Control of that Control.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

Nay said:
Hi
I have a htmlcontrol table that set to visible=true or false alternatlly.
Is there any elegant/builtin way, to clear the view state of al the
webcontrols that contained within that table?
 
Back
Top