TextBox ViewState

CJLeit

Freshman
Joined
Feb 1, 2006
Messages
32
I have a textbox that I set the EnableViewState property to false. The problem is that it is holding it's state after postbacks. I have other controls that I do this for and they work fine. How can I make it so my textbox doesn't hold it's state after postbacks?

Thanks!
 
Hi,

That's strange behaviour. However I can think of the followings-

1. Ensure that the value of the text box in not being set programatically in codebehind or in html code.

2. You can always clear the value of the text box programatically.

3. Try deleting and adding the textbox again on your page.

HTH.
Jitesh
 
Back
Top