Exemplo n.º 1
0
        public override void SyncChanges()
        {
            EnsureChildControls();
            ChartWebPartBase webPart = WebPartToEdit as ChartWebPartBase;

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

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

            return(true);
        }