Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bound Controls.
Message
From
23/01/2005 09:55:41
Keith Payne
Technical Marketing Solutions
Florida, United States
 
 
To
21/01/2005 14:12:49
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, United States
General information
Forum:
ASP.NET
Category:
Other
Title:
Environment versions
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
00979398
Message ID:
00979796
Views:
22
>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
Map
View

Click here to load this message in the networking platform