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

Problem with EndEdit()

Thread ID:





37883 Dec 1,2005 05:25 PM UTC Dec 1,2005 07:59 PM UTC WinForms 3
Tags: GridControl
Michael Cruanes
Asked On December 1, 2005 05:25 PM UTC

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 05:34 PM UTC

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

Michael Cruanes
Replied On December 1, 2005 07:04 PM UTC

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 07:59 PM UTC

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?


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

or the page will be automatically redirected to 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