ATLAS : Loading a user control at runtime
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
hi, I would like to load a web user control at runtime in my ATLAS enabled application, so i placed a placeholder inside atlas:UpdatePanel tag and coded as following :
<% MYCTR myctr = (MYCTR)LoadControl(@"~\CTR\PRODUCTS\ProdItem.ascx"); pHolder.Controls.Add(myctr); %>
At runtime it throws an unspecific error. Advance Thanks. aBaste