Button btn=(Button)this.Master.FindControl("Button1");

btn.Visible=false;
 
模板页中要注意html控件的url问题
ResolveClientUrl:获得相对路径
ResolveUrl:相对于跟目录的路径