Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Controls collection
Message
De
16/03/2009 10:37:47
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
 
 
À
16/03/2009 10:34:22
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
Divers
Thread ID:
01388377
Message ID:
01388379
Vues:
37
>Hi,
>I have a WebControl - where I programmatically add new controls.
>During Controls.add() - I check Controls.count - it grows... for example it has now 35 controls
>
>I have a button on this page cmdSave - in Click event I check Me.Controls.count - it has just 9 controls.. most of them - controls which I exact drop on control during design time.
>
>The question is..
>How can I get collection of controls which I add to page programmatically
>
>Thanks
>Denis

So you have a custom control that you add to your form that contains dynamically added other custom controls? Am I understanding this correctly?
Very fitting: http://xkcd.com/386/
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform