Exemplo n.º 1
0
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);
            CommonMaster commonMaster = (CommonMaster)this.Page.Master;

            commonMaster.AddCssFiles("VoicemailSprite.css");
        }
Exemplo n.º 2
0
 protected override void OnLoad(EventArgs e)
 {
     base.OnLoad(e);
     if (!this.SkipBEParamCheck)
     {
         this.Context.ThrowIfViewOptionsWithBEParam(base.FeatureSet);
     }
     base.ClientScript.RegisterStartupScript(typeof(EcpContentPage), "HideLoadingGif", "ContentPageUtil.HideLoadingGif();", true);
     if (this.Page.Master != null)
     {
         MasterPage master = this.Page.Master;
         while (master.Master != null)
         {
             master = master.Master;
         }
         CommonMaster commonMaster = master as CommonMaster;
         if (commonMaster != null)
         {
             commonMaster.FeatureSet = base.FeatureSet;
         }
     }
     if (!string.IsNullOrEmpty(this.IncludeCssFiles))
     {
         ((CommonMaster)this.Page.Master).AddCssFiles(this.IncludeCssFiles);
     }
     if (base.IsPostBack)
     {
         this.Context.CheckCanaryForPostBack("ecpCanary");
     }
 }
Exemplo n.º 3
0
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);
            CommonMaster commonMaster = (CommonMaster)base.Master;

            commonMaster.AddCssFiles("VoicemailSprite.css");
            this.txtPhoneNumber_Validator2.ValidationExpression = "^(?:\\([2-9]\\d{2}\\)\\ ?|[2-9]\\d{2}(?:\\-?|\\ ?))[2-9]\\d{2}[- ]?\\d{4}$";
        }
Exemplo n.º 4
0
        private void AddCssFileLinks()
        {
            CommonMaster commonMaster = (CommonMaster)this.Page.Master;

            foreach (SlabFrame slabFrame in this.slabFrames)
            {
                commonMaster.AddCssFiles(slabFrame.Slab.IncludeCssFiles);
            }
        }