I am loading two user controls at runtime.
Control mailTemplate = LoadControl("test.ascx");
mailTemplate.Controls.Add(LoadControl("KnowledgeBase.ascx"));
Control mailTemplate = LoadControl("test.ascx");
mailTemplate.Controls.Add(LoadControl("KnowledgeBase.ascx"));
After loading, i tried to find the child elements in common control mail template.
HtmlSelect pro = (HtmlSelect)mailTemplate.FindControl("Ddl_projects");
this Ddl_projects control is in test.ascx usercontrol. It was found, no pr ...
Go to the complete details ...