Monday, January 18, 2010

How to add a user control dynamically to an asp.net web page?

It depends on what kind of control where you want to put it but something like





UserControl uc = new UserControl();


Page.Controls.Add(uc);

No comments:

Post a Comment