Clear text box info from host header

How can i clear the information in a text box from the host header so it is empty on post back (not emptied after post back? I know that Enableviewstate doesn’t work for text boxes.



I am not sure I understand what ur asking. What do you want to clear? A text box or headers?

Both! I want to check-for and read a value on post back and then clear it so that if i post back again the check finds nothing.


By header do you mean url or querystring?

Textbox can be empied by TextBox1.Text = String.Empty;