Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Clearing controls in the Wizard
Message
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Clearing controls in the Wizard
Versions des environnements
OS:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01294416
Message ID:
01294416
Vues:
51
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
Répondre
Fil
Voir

Click here to load this message in the networking platform