Label myLabel = (Label)Master.FindControl("myLabelFromMasterPage"); // access the control from master page // mater page public MyMasterPage: MasterPage { public int Add(int a, int b) { return a + b; } } // content page (this.Master as MyMasterPage).Add(5, 5);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)