Click here to Skip to main content
15,906,463 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to make visible false a master page button on his click
Posted
Updated 6-Apr-14 18:35pm
v2

If you want to hide the button in, say, the Default.aspx page use the following -
this.Master.FindControl("myButton").Visible = false;
 
Share this answer
 
Comments
neeraj_ 7-Apr-14 1:13am    
thaks sir its worked nice
In the click event handler of the button, change the value of Visible property to false.
For example:

btn1.Visible = false;
 
Share this answer
 
Comments
neeraj_ 7-Apr-14 0:37am    
i'm talking about master page button

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900