Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
User Controls
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Divers
Thread ID:
00875886
Message ID:
00878472
Vues:
15
Valentin,

I'm seeing the same thing. The only thing you can do is use LoadControl to load the user control and then set properties on the user control to pass in the information and then add it to the controls collection.
.

>Cathi
>
>When I do
>ctlGrid = LoadControl("MyControl.ascx?Param=1&Param2=2");
>It smply says that it has to be a control object and does not alow me to put anything after .ascx.
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform