示例#1
0
        public override void SyncChanges()
        {
            EnsureChildControls();
            ChartWebPartBase webPart = WebPartToEdit as ChartWebPartBase;

            if (webPart != null)
            {
                this._input.Text = webPart.InitializationCode;
            }
        }
示例#2
0
        public override bool ApplyChanges()
        {
            EnsureChildControls();
            ChartWebPartBase webPart = WebPartToEdit as ChartWebPartBase;

            if (webPart != null)
            {
                webPart.InitializationCode = this._input.Text;
            }

            return(true);
        }