HowTo clear all ViewState from a WebUserControl without doing a PostBack ?

  • Thread starter Thread starter Andreas Klemt
  • Start date Start date
A

Andreas Klemt

Hello,
how can I clear all ViewStates from a WebUserControl without
doing a PostBack ?

Thanks in advance,
Andreas
 
Hello Kevin,
should I use control.clear? Is there a way to clear any viewstate from
textboxes?

Regards,
Andreas
 
Hi,
You can set that textbox won't get any viewstate by setting
enableviewstate property to false. this can be done only on the server
side.

Natty Gur, CTO
Dao2Com Ltd.
34th Elkalay st. Raanana
Israel , 43000
Phone Numbers:
Office: +972-(0)9-7740261
Fax: +972-(0)9-7740261
Mobile: +972-(0)58-888377
 
Back
Top