在子页面中操作模板页的内容

mac2022-06-30  25

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

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

转载于:https://www.cnblogs.com/blackHorseplan/p/3887456.html

最新回复(0)