Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Clearing controls in the Wizard
Message
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Clearing controls in the Wizard
Environment versions
OS:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01294416
Message ID:
01294416
Views:
53
Hi everybody,

On the complex page I have multiple controls and a Wizard which allows to create a new entry. The problem is that when I try to add a new entry, the previous information is still there.

Now, in order to clear the fields I'm trying the following code which gives me an error on the second line:
foreach (Control c in this.wzrdAddEvent.Controls)
            {
                c.Clear();
            }
Do you know a better way to clear controls (some are textboxes, some combos, etc.)

Thanks in advance.
If it's not broken, fix it until it is.


My Blog
Reply
Map
View

Click here to load this message in the networking platform