How to Call UserControl Method From Parent Page:
ASP.uc_organisation_ascx objUC;
objUC = Page.FindControl("Organisation1") as ASP.uc_organisation_ascx;
if (objUC != null)
{
objUC.FillEmployeeNames(Session["PROJECT_ID"].ToString());
}
//FillEmployeeNames is the Method name in userControl
Tuesday, October 14, 2008
How to Call UserControl Method From Parent Page
Labels:
UserControl
Subscribe to:
Posts (Atom)
