Tuesday, January 6, 2015
Load user control dynamically from code behind in asp.net
Load control from code behind in asp.net:
UserControl
uc = (
UserControl
)LoadControl(
"~/UserControl/ContactUs.ascx"
);
plcContactUs.Controls.Add(uc);
plcContactUs
could be a panel or place holder
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment