public PageWithMaster(bool useMasterPage) : base(useMasterPage ? IsMasterPageSet : false) { if (hasMasterPage) { jcoSec = ConfigUtility.GetJcoSecuritySection(); AppRelativeVirtualPath = "~/" + UniHttpHandler.HandlerPath; if (jcoSec.MasterPage.Path == "") { hasMasterPage = false; } else { MasterPageFile = jcoSec.MasterPage.Path; } } }