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

GridDataBoundGrid & Delete Key

Thread ID:





35971 Oct 17,2005 07:21 PM UTC Oct 17,2005 08:01 PM UTC WinForms 2
Tags: GridControl
Todd Geraty
Asked On October 17, 2005 07:21 PM UTC

Hi, I''m running into a problem with the Delete key when I''m in the GridDataBoundGrid control. When I''m in a cell and editing the text, the Delete key does not work (deleting characters). I''ve narrowed it down to the ListBoxSelectionMode property in conjunction with the EnableRemove property. We need ListBoxSelectionMode set to MultiExtended and EnableRemove set to false. Unfortunately, when these modes are set, the Delete key doesn''t seem to work at all. If EnableRemove is turned back on, pressing Delete removes the whole row. However, even this doesn''t really make sense because I''m currently editing a cell. The Delete key should delete the characters to the right of my position (like it normally does). I can understand it deleting the row if I wasn''t currently editing the cell. But that''s a side issue, because we need ListBoxSelectionMode set to MultiExtended and EnableRemove set to false. And when we edit a cell, the Delete key should work as normal.

Administrator [Syncfusion]
Replied On October 17, 2005 07:50 PM UTC

You can work around this problem by handling the CurrentCellKeyDown event. http://www.syncfusion.com/Support/user/uploads/GDBG_Delete_b1a3c869.zip

Todd Geraty
Replied On October 17, 2005 08:01 PM UTC

Works like a champ - thanks!


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