I have a master page and several nested master pages in an ASP.Net 2.0/C# site. I have been able to reference controls in the master page from the various content pages by using the following...
Now I have a control in a nested master of the master page that I want to set the class value of a DIV control based upon which content page is currently displayed.
Master Page--->Nested Master Page --> DIV on nested master page needs to be referenced from a content page that uses the nested master page (Master-->Nested Master-->Content page).
I tried the following code in the content code-behind with no luck.
Does anyone know how to reference the DIV control in the nested master?