↧
Answer by Guven Sezgin Kurt for How to access controls in Main Master page...
This works in any case. especially if you dont know or care how many master pages you nested. Hope it helps :)MasterPage tmp = this.Master;while (tmp.Master != null){ tmp = tmp.Master;}var control =...
View ArticleAnswer by walther for How to access controls in Main Master page from content...
In PageMasterPageNested.aspx:TextBox txtBox = this.Master.Master.FindControl("txtMasterPageMaster") as TextBox;Should work. Give it a try. Hope it helps.
View ArticleHow to access controls in Main Master page from content page in Nested Master...
I have 2 master pages that are nested.this is main master page code for example:<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPageMaster.master.cs" Inherits="MasterPageMaster"...
View Article
More Pages to Explore .....