Exemple #1
0
 protected override void OnInit(EventArgs e)
 {
     this.Page.LoadComplete      += new EventHandler(Page_LoadComplete);
     this.Page.PreRenderComplete += new EventHandler(Page_PreRenderComplete);
     PropertyEditorHelper.AttachToPage(this.Page);
     base.OnInit(e);
 }
Exemple #2
0
        public PropertyEditorControlBase()
            : base(true, HtmlTextWriterTag.Div)
        {
            PropertyEditorHelper.AttachToPage(WebUtility.GetCurrentPage());

            JSONSerializerExecute.RegisterConverter(typeof(PropertyValueConverter));
            JSONSerializerExecute.RegisterConverter(typeof(EnumItemPropertyDescriptionConverter));
            JSONSerializerExecute.RegisterConverter(typeof(PropertyValidatorParameterDescriptorConverter));
            JSONSerializerExecute.RegisterConverter(typeof(PropertyValidatorDescriptorConverter));
            JSONSerializerExecute.RegisterConverter(typeof(EditorParamsDefineConverter));
            JSONSerializerExecute.RegisterConverter(typeof(ControlPropertyDefineConverter));
            //JSONSerializerExecute.RegisterConverter(typeof(ClientVdtDataConverter));
        }