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. Image for the cookie policy date

Problem with EndEdit()

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

3 Replies

AD Administrator Syncfusion Team December 1, 2005 05:34 PM UTC

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


MC Michael Cruanes 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


AD Administrator Syncfusion Team 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?

Loader.
Live Chat Icon For mobile
Up arrow icon