↑ Grab this Headline Animator

Sunday, October 19, 2008

How to load Web UserControl at runtime.

For adding Web User control programatically at runtime in ASP.NET write below lines of code.

Control ctl = (Control)Page.LoadControl("~/Controls/MyUserControl.ascx");
[add to form]

[ or add to panel]


Submit this story to DotNetKicks

No comments:

Post a Comment

Post your comments/questions/feedback for this Article.


Latest Articles