Hi
On masterPage i have button btnTest, how hide button from masterPage on userControl.ascx
example:
btnSecondPage_click
{
btnTest.visible = false;
}
You mean you want to hide the button which is in Master Page from UserControl if yes then
this.Page.Master.FindControl("btnTest").Visible = false;
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.