Пример #1
0
        private static void page_PreRender(object sender, EventArgs e)
        {
            WebUtility.RequiredScript(typeof(PropertyEditorControlBase));

            Page page = (Page)sender;

            page.ClientScript.RegisterStartupScript(typeof(PropertyEditorHelper),
                                                    "RegisterPropertyEditorScript",
                                                    GetRegisterEditorScript(AllEditors),
                                                    true);

            AllEditors.ForEach(kp => { kp.Value.OnPagePreRender((Page)sender); });
        }
Пример #2
0
 private static void page_PreInit(object sender, EventArgs e)
 {
     AllEditors.ForEach(kp => { kp.Value.OnPagePreInit((Page)sender); });
 }
Пример #3
0
        private static void page_Load(object sender, EventArgs e)
        {
            AllEditors.ForEach(kp => { kp.Value.RegisterScript((Page)sender); });

            AllEditors.ForEach(kp => { kp.Value.OnPageLoad((Page)sender); });
        }
Пример #4
0
        private static void page_Init(object sender, EventArgs e)
        {
            EnsureContainer((Page)sender);

            AllEditors.ForEach(kp => { kp.Value.OnPageInit((Page)sender); });
        }