hi guys
i have requirement where i have a menu with different names and when click on the menu
i should display the user controls based menu selection and page should not post back
plssss help me guys with example
How to call the user controls in one page
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Naveen BishtRank #1,462 · 1.1K reputationPosted Jun 17, 2013, 9:46 PM EDT
Step1- Register user control like
<%@ Register TagName="TerminationRequest" TagPrefix="uc" Src="TerminationRequestList.ascx" %>
<%@ Register TagName="MemberTransfer" TagPrefix="uc" Src="MemberTransferInMylogeFromOtherloge.ascx" %>
<%@ Register TagName="TransferRequested" TagPrefix="uc" Src="TranferRequested.ascx" %>
<%@ Register TagName="ViewDispensationRequest" TagPrefix="uc" Src="ViewDispensationRequest.ascx" %>
Step 2-take place holder to view these
Step 3- view these help wiht the link button click
Ravishankar SinghRank #669 · 3.6K reputationPosted Jun 17, 2013, 10:09 PM EDT
Vignesh KumarRank #1,579 · 1K reputationPosted Jun 17, 2013, 10:25 PM EDT
Try this!
void Page_Load()
{
MyUserControl control = (MyUserControl)LoadControl)("MyUserControl.ascx");
this.Controls.Add( control );
MyUserControl control = (MyUserControl)FindControl("myUserControl");
control.MyMethod();
}