Geeks With Blogs
Phil Sando May 2010 Entries
Programatically loading user controls
Today's little problem is that I am trying to load user controls from my codebehind like so: Dim myControl As UserControl = LoadControl("~\Modules\Cont... Controls.Add(myControl) On running the page myControl is no where to be seen. I wonder why that is? Well after a bit of thought the following come to mind... Am I using the correct code to insert the usercontrol? Is there an alternative available? Does the fact that the usercontrol has a page_load event make a difference? Does the fact that ......

Posted On Thursday, May 27, 2010 11:41 AM

Copyright © PhilSando | Powered by: GeeksWithBlogs.net