New Product Launch - BoldDesk !
Introducing help desk ticketing software.
New Product LaunchBoldDesk: Help desk ticketing software starts at $10 for 3 agents.
Try it for free.
public event KeyPressEventHandler GridCellKeyPress;
2) in your UserControl.Load, subscribe to the grid''s event.
this.gridDataBoundGrid1.CurrentCellKeyPress += new KeyPressEventHandler(gridDataBoundGrid1_CurrentCellKeyPress);
3) In your handler in the UserControl, raise your new public event.
private void gridDataBoundGrid1_CurrentCellKeyPress(object sender, KeyPressEventArgs e) { if(GridCellKeyPress != null) GridCellKeyPress(sender, e); }
> public event KeyPressEventHandler GridCellKeyPress;
>
>
>2) in your UserControl.Load, subscribe to the grid''s event.
>
>this.gridDataBoundGrid1.CurrentCellKeyPress += new KeyPressEventHandler(gridDataBoundGrid1_CurrentCellKeyPress);
>
>
>3) In your handler in the UserControl, raise your new public event.
>>private void gridDataBoundGrid1_CurrentCellKeyPress(object sender, KeyPressEventArgs e) >{ > if(GridCellKeyPress != null) > GridCellKeyPress(sender, e); >} >