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.
Unfortunately, activation email could not send to your email. Please try again.

CurrentCellChanging event problem

Thread ID:

Created:

Updated:

Platform:

Replies:

2738 Feb 12,2003 07:05 AM Feb 12,2003 11:39 AM Windows Forms 2
loading
Tags: GridControl
Lyubomir Konstantinov
Asked On February 12, 2003 07:05 AM

Hi, Firstly, I am currently evaluating the Essential Grid (so I dont know if the issue is fixed in the non-trial version :) ). The problem I have is that even if I set the Cancel property to true in the CurrentCellChanging handler of GridDataBoundGrid, the cell happily continues to accept the changes. Please advise. Best Regards, Lyubomir

Administrator [Syncfusion]
Replied On February 12, 2003 11:21 AM

Thanks for reporting this. We were not aware on this issue so far. We'll get that fixed. As a workaround try handling the RowEditing event instead in the meantime. Or override PrepareViewStyleInfo and set e.Style.ReadOnly = true Stefan

Lyubomir Konstantinov
Replied On February 12, 2003 11:39 AM

Thanx for the fast response. I've switched to the row event instead. One small issue though (not a big deal) - it looks like the the event is fired after the changes are put in the cell and after the e.cancel = true the original value of the cell is restored (the effect is like of a backspace being pressed). Also the cursor is positioned in the beginning of the cell value. Maybe It will be better to fire the event before the change is applied. Best regards, Lyubomir

CONFIRMATION

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.

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.

;