find control in page

后端 未结 9 1062
孤城傲影
孤城傲影 2020-12-11 02:37

HTML


    
9条回答
  •  执笔经年
    2020-12-11 03:40

    To find the master page control on the other pages we can use this:

    Button btnphotograph = (Button)this.Master.FindControl("btnphotograph");
    btnphotograph.Text="Hello!!";
    

提交回复
热议问题