Public properties with nested master pages
If I have "OuterMasterPage" that contains "InnerMasterPage" that contains "ContentPage", how can I get to public properties of the "OuterMasterPage" & "InnerMasterPage" from my "ContentPage"?
ContenPage has <%@ MasterType VirtualPath="~/InnerMasterPage.master" and can use Master.InnerMasterProperty syntax
I have added to InnerMasterPage <%@ MasterType VirtualPath="~/OuterMasterPage.master", but public properties of the OuterMasterPage are not available in the ContentPage;
Two <%@ MasterType directives in the ContentPage are not allowed
Is there a reasonable solution to this?
PS: I had a similar question on MCTS exam
Last edited by Oleg Kolpashchikov; July 30th, 2013 at 04:04 AM.