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

BindingList and AddNew

Thread ID:




60744 May 10,2007 07:20 PM UTC WinForms 0
Tags: GridControl
Asked On May 10, 2007 07:20 PM UTC


I have got some questions about the GGC and binding to a business object (which is derived from BindingList).

Question 1:
So when the cursor is located in last row (the row with the asterisk) I press the arrow down key, a new item is added in the binding list. Now when I press ESC it seems the item is not removed from the binding list, but is also not shown in the grid. So why is it not removed from the binding list - do I have to handle this by myself?

Question 2:
As in Question 1, when the cursor is located in the last row and I press the arrow down key, a new item is added in the binding list (event is fired). But in the corresponding OnValidate method of a custom cell renderer, the CellValue is empty (null reference). It seems the grid model is not updated with the newly added item. Can you explain this behavior?



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