CJLeit Posted December 14, 2006 Posted December 14, 2006 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! Quote
Jitesh Posted December 18, 2006 Posted December 18, 2006 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 Quote Jitesh Sinha
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.