Target MasterPage
Menu
Today I needed to update the content of an asp TextBox control set in my MasterPage. I did by executing an update method (SetEcommsInfo) set in the master page.
((ASP.library_masterpages_main_master)this.Master).SetEcommsInfo(null, EcommTitle.Text);
Alternatively you can specify the following tag in your ASPX page:
%@ MasterType VirtualPath="/Library/MasterPages/MasterPage.master" %
And then use the following in your ASPX.CS file
Master.MethodName();
Copyright 2012. All rights reserved.
