in
Forums
Blogs
Files
Devexpress.Com
Client Center
Support Center
DevExpress Channel

ShowPopup

Last post 11/20/2008 11:34 AM by Brendon Muck. 2 replies.
Page 1 of 1 (3 items)
Sort Posts:
Previous Next
  • 11/19/2008 7:41 AM

    ShowPopup

    Hey!

    I have the following code :

            private void GridView_CellValueChanged(object sender, DevExpress.XtraGrid.Views.Base.CellValueChangedEventArgs e)
            {
                    if (e.Column.FieldName.Equals("Yes"))
                    {
                        this.GridView.FocusedColumn = this.GridViewAnamnes.Columns["Comment"];
                        this.GridView.ShowEditor();
                        if(this.GridViewAnamnes.ActiveEditor is PopupBaseEdit)
                            ((PopupBaseEdit)this.GridViewAnamnes.ActiveEditor).ShowPopup();
                    }
            }

    My Intensions is to activet and open the Comment columns MemoExEdit when the column Yes have been set.

    The problem is that GridView.ActiveEditor is still a checkBoxEditor (the same as the Yes column). How is this possible when the FocusedColumn really is the Comment column when runnning ShowEditor()?

  • 11/20/2008 9:57 AM In reply to

    Re: ShowPopup

    Some help would be nice.

  • 11/20/2008 11:34 AM In reply to

    Re: ShowPopup

    Some tact would also be nice. This is a peer-to-peer support forum. If you require immediate help, you may want to contact DevExpress directly.

    http://www.logisticdynamics.com
Page 1 of 1 (3 items)
Copyright © 1998-2008 Developer Express Inc.
ALL RIGHTS RESERVED