The second method is to omit this MasterType directive and access it in the page’s code behind.
void Page_Init(Object sender, EventArgs e){ MasterPage_master mp = (MasterPage_master)this.Master; this.lblCompany.Text = mp.CompanyName; }
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
© Copyright 2010 MuellerDesigns.net
Sign In