public override void LoadColumn(DataGridColumnsPage.ColumnItem columnItem)
 {
     base.LoadColumn(columnItem);
     DataGridColumnsPage.BoundColumnItem item = (DataGridColumnsPage.BoundColumnItem) columnItem;
     this.dataFieldEdit.Text = item.DataField;
     this.dataFormatStringEdit.Text = item.DataFormatString;
     this.readOnlyCheck.Checked = item.ReadOnly;
     this.dataFieldEdit.ReadOnly = base.dataFieldsAvailable;
 }
 public override void LoadColumn(DataGridColumnsPage.ColumnItem columnItem)
 {
     base.LoadColumn(columnItem);
     DataGridColumnsPage.HyperLinkColumnItem item = (DataGridColumnsPage.HyperLinkColumnItem) base.columnItem;
     this.textEdit.Text = item.AnchorText;
     if (base.dataFieldsAvailable)
     {
         if (item.AnchorDataTextField != null)
         {
             int num = this.dataTextFieldCombo.FindStringExact(item.AnchorDataTextField);
             this.dataTextFieldCombo.SelectedIndex = num;
         }
         this.dataTextFieldCombo.Visible = true;
         this.dataTextFieldEdit.Visible = false;
     }
     else
     {
         this.dataTextFieldEdit.Text = item.AnchorDataTextField;
         this.dataTextFieldEdit.Visible = true;
         this.dataTextFieldCombo.Visible = false;
     }
     this.dataTextFormatStringEdit.Text = item.AnchorDataTextFormatString;
     this.urlEdit.Text = item.Url;
     if (base.dataFieldsAvailable)
     {
         if (item.DataUrlField != null)
         {
             int num2 = this.dataTextFieldCombo.FindStringExact(item.DataUrlField);
             this.dataUrlFieldCombo.SelectedIndex = num2;
         }
         this.dataUrlFieldCombo.Visible = true;
         this.dataUrlFieldEdit.Visible = false;
     }
     else
     {
         this.dataUrlFieldEdit.Text = item.DataUrlField;
         this.dataUrlFieldEdit.Visible = true;
         this.dataUrlFieldCombo.Visible = false;
     }
     this.dataUrlFormatStringEdit.Text = item.DataUrlFormatString;
     this.targetCombo.Text = item.Target;
     this.UpdateEnabledState();
 }
 public virtual void LoadColumn(DataGridColumnsPage.ColumnItem columnItem)
 {
     this.columnItem = columnItem;
 }
            public override void LoadColumn(DataGridColumnsPage.ColumnItem columnItem)
            {
                base.LoadColumn(columnItem);
                DataGridColumnsPage.EditCommandColumnItem item = (DataGridColumnsPage.EditCommandColumnItem) base.columnItem;
                this.editTextEdit.Text = item.EditText;
                this.updateTextEdit.Text = item.UpdateText;
                this.cancelTextEdit.Text = item.CancelText;
                switch (item.ButtonType)
                {
                    case ButtonColumnType.LinkButton:
                        this.buttonTypeCombo.SelectedIndex = 0;
                        return;

                    case ButtonColumnType.PushButton:
                        this.buttonTypeCombo.SelectedIndex = 1;
                        return;
                }
            }
            public override void LoadColumn(DataGridColumnsPage.ColumnItem columnItem)
            {
                base.LoadColumn(columnItem);
                DataGridColumnsPage.ButtonColumnItem item = (DataGridColumnsPage.ButtonColumnItem) base.columnItem;
                this.commandEdit.Text = item.Command;
                this.textEdit.Text = item.ButtonText;
                if (base.dataFieldsAvailable)
                {
                    if (item.ButtonDataTextField != null)
                    {
                        int num = this.dataTextFieldCombo.FindStringExact(item.ButtonDataTextField);
                        this.dataTextFieldCombo.SelectedIndex = num;
                    }
                    this.dataTextFieldCombo.Visible = true;
                    this.dataTextFieldEdit.Visible = false;
                }
                else
                {
                    this.dataTextFieldEdit.Text = item.ButtonDataTextField;
                    this.dataTextFieldEdit.Visible = true;
                    this.dataTextFieldCombo.Visible = false;
                }
                this.dataTextFormatStringEdit.Text = item.ButtonDataTextFormatString;
                switch (item.ButtonType)
                {
                    case ButtonColumnType.LinkButton:
                        this.buttonTypeCombo.SelectedIndex = 0;
                        break;

                    case ButtonColumnType.PushButton:
                        this.buttonTypeCombo.SelectedIndex = 1;
                        break;
                }
                this.UpdateEnabledState();
            }