Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bound Controls.
Message
From
25/01/2005 11:05:37
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, United States
 
 
To
23/01/2005 09:55:41
Keith Payne
Technical Marketing Solutions
Florida, 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:
00980418
Views:
27
Keith,

Is that a matter of setting the viewstate property on each textbox to false? If not, please explain.

Jim


>>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.
Thanks

Jim
Previous
Reply
Map
View

Click here to load this message in the networking platform