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

How do I Give a Custom GridStaticCellRenderer's Control Focus When a User Presses CTRL + ALT + DOWN?

Thread ID:





108608 May 1,2013 08:15 PM UTC May 9,2013 04:18 AM UTC WinForms 1
Tags: FAQ
Matthew Edwards
Asked On May 1, 2013 08:15 PM UTC

How do I give focus to a child control when a user presses CTRL + ALT + DOWN to expand a GGC cell's dropdown?  The default cell models appear to do this automatically, so that when a dropdown appears the user can use the up, down and enter key to select items in a list.  I'd like my custom downdown to do the same thing.

If it matters, my custom cell control is really just a CheckedListBox, and I want the user to be able to check items without every having to use the mouse.

Vinish Kumar K [Syncfusion]
Replied On May 9, 2013 04:18 AM UTC

Hi Matthew,


Thank you for your interest in Syncfusion products.

We have analyzed your query. If you want to set the custom dropdown when the we press the keys CTRL + ALT + DOWN. Based on the architecture of grid the we can handle the issue by override the method onKeyDown or OnkeyPress events. You can handle this in your custom celltype class.

 protected override void OnKeyDown(KeyEventArgs e)



            if (e.KeyCode == Keys.Up )


                this.OnButtonClicked(this._rowIndex, this._colIndex, 0);

                e.Handled = true;


            else if (e.KeyCode == Keys.Down)


                this.OnButtonClicked(this._rowIndex, this._colIndex, 1);

                e.Handled = true;




Please customize your application based on this method. Still you have faced the same issue in your end. Please provide any sample to provide proper response. We will update you with the proper response without any further delay.





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

This page will automatically be redirected to the 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