title: ASP.NET: Call function in MasterPage through UserControl
body: <p>Calling a function from the MasterPage in a Page is quite straigt forward but how do I call it for a UserControl:</p>
  
  <p>Adding <code>&lt;%@ MasterType VirtualPath="~/MasterPage.master" %&gt;</code>, doesn't work on UserControls. </p>
  
  <p>So <code>this.Page.Master.MyFunction()</code> fails :(</p>