Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
User Controls
Message
General information
Forum:
ASP.NET
Category:
Other
Title:
Miscellaneous
Thread ID:
00875886
Message ID:
00878472
Views:
14
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
Previous
Reply
Map
View

Click here to load this message in the networking platform