Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
115
UltraGrid Delete Key Processing
posted

When user clicks on a grid header and presses the Delete key, I need to intercept that key press:

* If (selected) row is one that should not be deleted, terminate processing the delete key.

* else allow built-in Infragistics grid row delete processing to handle deleting the row.

Being new to Infragistics, I'm not sure:

1) how to set-up intercepting the Delete key press.
    I tried select the grid in VisualStudio in the designer and entered the name of a KeyUp handing routine, but it isn't invoked. Do I need to select something else?
    I tried entering names for KeyDown and KeyPress, but now I'm getting the error regarding 'MdiChildFormBase_Fill_Panel' - see below.

2) How do I:
   * Terminate Delete processing?
   *  Allow Infratistics built-in processing to actually delete the row?

ALSO, how do I prevent the VS error "The variable 'MdiChildFormBase_Fill_Panel' is either undeclared or was never assigned. ". I get this fairly frequently. The designer generated 'MdiChildFormBase_Fill_Panel'. When VS complains about this, it no longer displays the design view. I'm using VS 2012 and Infragistics 2010.3. I know there's a 2012.1 version, but my department is using 2010.

 

Thanks,

Daryl