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.

Problem with EndEdit()

Thread ID:

Created:

Updated:

Platform:

Replies:

37883 Dec 1,2005 12:25 PM Dec 1,2005 02:59 PM Windows Forms 3
loading
Tags: GridControl
Michael Cruanes
Asked On December 1, 2005 12:25 PM

Hi, I have GDBG and I am calling grid.Binder.EndEdit() within CurrentCellAcceptedChanges event handler. Everything works fine until I set a sort on the DataTable. Then I get an object null exception sent by the EndEdit() call. Any idea ? Thanks for your Help, Michael

Administrator [Syncfusion]
Replied On December 1, 2005 12:34 PM

If you try checking grid.Binder.IsEditing before you call EndEdit does it avoid this problem?

Michael Cruanes
Replied On December 1, 2005 02:04 PM

Hi Clay, In fact the error occurs as well without EndEdit call. If the cell is initially empty and you enter some chars, then the error occurs. If the cell is not empty and you modify the content, then the error does not occur. Again, the problem appears only if a sort exists on the datatable. Best Regards, Michael

Administrator [Syncfusion]
Replied On December 1, 2005 02:59 PM

Can you tell me how to see this problem in one of the samples that we ship? Or, can you upload a sample project that shows this problem?

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.

;