title: How do you set the MasterType TypeName in code
body: <p>If you want easy access to the MasterPage properties etc in ASP.Net you can set the MasterPage TypeName in the head of the aspx page i.e. </p>
  
  
  
  <p>But How do you do this via the code file?</p>