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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top