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 -

Visual Studio 2005: How to speed up builds when a VSMDI is open? -

booting ubuntu from usb using virtualbox -