if (Page.FindControl("ContentPlaceHolder").FindControl("UC1") == null) Control ctl = LoadControl("MasterDetail.ascx"); ctl.ID = "UC2"; flag = 1; this.ContentPlaceHolder.Controls.Add(ctl);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)