Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Request.Form and Textboxes

Status
Not open for further replies.

mais123

Programmer
Dec 26, 2007
36
US
is there a way to clear Request.Form or prevent textboxes from getting old values from it?

Thanks
 
You ccould reset the Text property of the TextBox on the Page Load event. However, I'm not sure I see the point of it as if you do not leave the values in, why was the user entering something into it?

[!]
-------------------------------------------------------

Mark,

Join me at the new IT Community of the 21st Century: [!][URL unfurl="true"]http://lessthandot.com[/!][/url]

[/!]
 
well, I have a problem where the textboxes in gridview are somehow caching old value, so since texboxes get form values out of form collection, i wanted to prevent that
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top