Sunday, January 25, 2009

NOT save value on PostBack


If you have different ASP.NET controls in your application e.g checkbox, listbox, textbox, dropdowns etc. and you want to clear the value that it holds on PostBack. Then do the

EnableViewStateProperty to False.

or you can do

Textbox1.Text="";

after submitting form data.

No comments:

Post a Comment

Highly Appreciated your comments