Bug Report B34999
Visible to All Users

ListViewAndDetailView mode - after pressing the Escape button in the nested ListView of the EditView, it fires for the root ListView as well

created 16 years ago

Steps to Reproduce:

  1. Run the attached sample.
  2. Select the Master object in the MasterBase ListView.
  3. Select an object from Details nested ListView and press the Esc button.
    Actual Results:
    Object reference not set to an instance of an object.
          DevExpress.XtraGrid.v8.3.dll!DevExpress.XtraGrid.Views.Grid.Handler.GridRegularRowNavigator.OnKeyDown(System.Windows.Forms.KeyEventArgs e) + 0x96 bytes
          DevExpress.XtraGrid.v8.3.dll!DevExpress.XtraGrid.Views.Grid.Handler.GridHandler.OnKeyDown(System.Windows.Forms.KeyEventArgs e) + 0x6a bytes
          DevExpress.Utils.v8.3.dll!DevExpress.Utils.Controls.BaseHandler.ProcessEvent(DevExpress.Utils.Controls.EventType etype, object args) + 0x39 bytes
          DevExpress.XtraGrid.v8.3.dll!DevExpress.XtraGrid.Views.Base.Handler.BaseViewHandler.ProcessEvent(DevExpress.Utils.Controls.EventType etype, object args) + 0x4c bytes
          DevExpress.XtraGrid.v8.3.dll!DevExpress.XtraGrid.GridControl.OnKeyDown(System.Windows.Forms.KeyEventArgs e) + 0xd6 bytes
          System.Windows.Forms.dll!System.Windows.Forms.Control.ProcessKeyEventArgs(ref System.Windows.Forms.Message m = {msg=0x100 (WM_KEYDOWN) hwnd=0x251480 wparam=0x1b lparam=0x10001 result=0x0}) + 0x3f3 bytes
          System.Windows.Forms.dll!System.Windows.Forms.Control.ProcessKeyMessage(ref System.Windows.Forms.Message m) + 0x35 bytes
          System.Windows.Forms.dll!System.Windows.Forms.Control.WmKeyChar(ref System.Windows.Forms.Message m = {msg=0x100 (WM_KEYDOWN) hwnd=0x251480 wparam=0x1b lparam=0x10001 result=0x0}) + 0x15 bytes
          System.Windows.Forms.dll!System.Windows.Forms.Control.WndProc(ref System.Windows.Forms.Message m) + 0x7dd bytes
          DevExpress.XtraEditors.v8.3.dll!DevExpress.XtraEditors.Container.EditorContainer.WndProc(ref System.Windows.Forms.Message m) + 0x42 bytes
          DevExpress.XtraGrid.v8.3.dll!DevExpress.XtraGrid.GridControl.WndProc(ref System.Windows.Forms.Message m) + 0x2b bytes
          System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.OnMessage(ref System.Windows.Forms.Message m) + 0x10 bytes
          System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.WndProc(ref System.Windows.Forms.Message m) + 0x31 bytes
          System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.Callback(System.IntPtr hWnd, int msg = 256, System.IntPtr wparam, System.IntPtr lparam) + 0x5a bytes
Comments (1)
Anatol (DevExpress) 16 years ago

    I've attached a sample project, which demonstrates what problem it can provoke. The call stack of the received exception is provided in Actual Results.

    Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

    Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.