Showing posts with label
LoadControl
.
Show all posts
Showing posts with label
LoadControl
.
Show all posts
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
Older Posts
Home
Subscribe to:
Posts (Atom)