First of all, you should find the user control, and then hide the control. Control m_userCtrl = this.Page.FindControl("UserControlID"); if(m_userCtrl!=null){ m_userCtrl.Visible = false; }
W
Wu Country
@Wu Country
First of all, you should find the user control, and then hide the control. Control m_userCtrl = this.Page.FindControl("UserControlID"); if(m_userCtrl!=null){ m_userCtrl.Visible = false; }