Environment versions
Network:
Windows 2003 Server
>All,
>
> I'm having a problem with a webform that I have created. The webform has a search button, a search field and several textboxes. The textboxes are bound to a dataset. I want to know if there is a way to blank out the textboxes if there are no results found in the dataset. Currently, I set the text property of each control to an empty string. Is there a better way?
Jim,
Remove the textboxes from the viewstate and they will start out blank after each postback.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only