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

Grid Combo Deletes on Delete press

Thread ID:





31716 Jul 13,2005 08:47 AM UTC Jul 13,2005 11:28 AM UTC WinForms 1
Tags: GridControl
Tarun Gujral
Asked On July 13, 2005 08:47 AM UTC

Hi I have attached sample application. The problem occurs when Combo Box has been associated with grid cell. Whenever I select any thing from COmbo ( in sample application Column C1 select value A) and then press delete the value disappears. Also it allows me to copy paste any value. How can I rectify the problem. Thanks Regards Tarun Gujral GridCombo_2560.zip

Administrator [Syncfusion]
Replied On July 13, 2005 11:28 AM UTC

One way you can handle this is to derive the grid and override ProcessCmdKey. public class MyGridDataBoundGrid : GridDataBoundGrid { protected override bool ProcessCmdKey(ref Message msg, Keys keyData) { if(keyData == Keys.Delete) { GridCurrentCell cc = this.CurrentCell; if(cc.Renderer is GridComboBoxCellRenderer) return true; } return base.ProcessCmdKey (ref msg, keyData); } }


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