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

events on Gridcontrol

Thread ID:





43417 Apr 22,2006 01:14 PM UTC Apr 24,2006 08:50 AM UTC WinForms 1
Tags: GridControl
Asked On April 22, 2006 01:14 PM UTC

Hi, i have used the gridcontrol to display the data. on CurrentCellEditingComplete event, i am storing the data entered in the cell. Before moving the focus to another cell,With mouse option, a menu is clicked and menu operations are performed. After this when i checked the cell, edited data is not retained. The CurrentCellEditingComplete event didn''t occur. what is the event in grid control which will be fired when current cell is in edit mode and a menu is called using mouse? Please reply ASAP.

Administrator [Syncfusion]
Replied On April 24, 2006 08:50 AM UTC

Hi Vijay, Please try this code to trigger the grid''s CurrentCellEditComplete event.Here is a code snippet. public const int MM_CLICK = 2; public const int WM_SYSCOMMAND = 289; protected override void WndProc(ref System.Windows.Forms.Message m) { if (m.Msg == WM_SYSCOMMAND && (int)m.WParam == MM_CLICK) { if( flag ) { flag = false; this.gridControl1.CurrentCell.Deactivate(false); } } base.WndProc(ref m); } Here is a sample. http://www.syncfusion.com/Support/user/uploads/gridcontroleditcomplete_33a2de05.zip Please let me know if you need any further assistance. Thanks for choosing Syncfusion Products. Regards, Haneef


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