2015年3月4日 星期三

ASP.NET FindControl 使用記錄

 有使用母版Master
Control mycontrol = this.Master.FindControl("ContentPlaceHolder1").FindControl("ckb7");

平時這樣就抓的到了
this.Page.FindControl("TextBox1")

沒有留言:

張貼留言