c# - How do you set the MasterType TypeName in code -


If you want easy access to masterpages properties etc in aspx, then you can set the masterpages type name in the top of aspx Page i.e.

But how do you do this via code file?

Type is a base class where your master page is getting, if you have your own If you have defined the basmeter step, then the code behind the master page obtained from your custom master is instead of System.Web.UI from MasterPage CustomMaster


Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -