Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question about referencing a control at runtime
Message
From
02/03/2004 00:56:14
 
 
To
02/03/2004 00:42:25
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00881833
Message ID:
00882250
Views:
36
Shazam! (haven't used that word in awhile)

Actually, I was looking it up <g>...but under the Activator, so I was getting myself crossed up. I had to do one more thing, which was...

oControl = (UserControl)oDLL.CreateInstance("MyContainer1");

...and then it worked.

This kind of thing, and use of GETTYPE, are about as far as I think I'll need to go for runtime evaluation. I haven't (yet) had the need to execute full lines of code.

Thank you! Pardon the gender-type, but...you da man! ;)

Kevin
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform