I have a generic page which dynamically loads a master page as well as usercontrol(s). The masterpage may also contain one or more usercontrols.
How can the usercontrol access methods and/or properties of the contained page/master page?
Here is the general structure of my masterpage and page. I would like both the control my_menu,ascx and my_template.ascx to be able to call/access 'PageName' property from the parent page.
*** My master Page ***
<%@ Master Language="C#" AutoEventWireup="true" %>
<%@ Register Src="my_menu.ascx" TagName="menu" TagPrefix="xx" %>
*** The Page ***
<%@ Page Language="C#" %>
regards Herman