Call User Control Method in Master Page from Content Page
问题 I have a Custom User Control present in my master page that loads site-wide JavaScript libraries into the master page's head Like so: <html> <head> <CustomControl:MyScriptControl id="scripts" runat="server" /> </head> <body> <asp:ContententPlaceHolder id="pageContent" runat="server" /> </body> </html> I would like to have the page that uses the MasterPage call a method of the User Control MyScriptControl so essentially public partial class ChildPage: System.Web.UI.Page { protected void Page