We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

ctrl-S to save values inside the GridGroupingControl

Thread ID:





106549 Jan 14,2013 05:30 PM UTC Jan 25,2013 06:24 AM UTC WinForms 3
Tags: Grouping
Gaukhar Massabayeva
Asked On January 14, 2013 05:30 PM UTC


I want to be able to use ctrl - S to save the values in the grid. Can this be achieved?

Thank you

Athiram S [Syncfusion]
Replied On January 18, 2013 01:57 AM UTC

Hi Gaukar,

Thanks for your interest in syncfusion products.

You can make use of the following code in saving the content:

if (gridDataBoundGrid1.CurrentCell.IsEditing) {
if (gridDataBoundGrid1.Binder.IsEditing) {

Please let me know if you have any concerns.


Athiram S

Gaukhar Massabayeva
Replied On January 22, 2013 03:49 PM UTC

I was interested in more of a scenario where user presses ctrl - S and an EventHandler is called (I already have the EventHandler, just need a way of recognising that ctrl - S is pressed).
Thank you

Rajadurai C [Syncfusion]
Replied On January 25, 2013 06:24 AM UTC

Hi Gaukhar,

Thanks for your update.

You can handle either of the following two events based on your requirement and check for the key pressed and call the event handler that you have from there.

this.gridGroupingControl1.KeyDown += new KeyEventHandler(gridGroupingControl1_KeyDown);


this.gridGroupingControl1.TableControlCurrentCellKeyDown += new Syncfusion.Windows.Forms.Grid.Grouping.GridTableControlKeyEventHandler(gridGroupingControl1_TableControlCurrentCellKeyDown);

// gridGroupingControl1_TableControlCurrentCellKeyDown

void gridGroupingControl1_TableControlCurrentCellKeyDown(object sender, Syncfusion.Windows.Forms.Grid.Grouping.GridTableControlKeyEventArgs e)


    if(Control.ModifierKeys == Keys.Control && e.Inner.KeyCode == Keys.S)


        // Code to call event handler for saving




// gridGroupingControl1_KeyDown

void gridGroupingControl1_KeyDown(object sender, KeyEventArgs e)


    if (Control.ModifierKeys == Keys.Control && e.KeyCode == Keys.S)


        //Call to event handler for saving







This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon