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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GGC AddNew not Called error

Thread ID:

Created:

Updated:

Platform:

Replies:

57146 Feb 27,2007 12:00 AM UTC Feb 28,2007 10:10 PM UTC WinForms 2
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On February 27, 2007 12:00 AM UTC

Hi,
I'm activating the addnewrecord row in GGC, but whenever I try to add a row, I get an exception and messagebox "AddNew not Called"
Can you give me some guidelines on how best to handle this?

Thanks,
Dimitri

Administrator [Syncfusion]
Replied On February 27, 2007 12:20 AM UTC

Hi Dimitri,

If you want to actually add new items to the arraylist(IList) through the GridGroupingControl, then you should also have your arraylist implement IBindingList to support the addnew functionality directly from the grid. Please refer this sample:

C:\Program Files\Syncfusion\Essential Studio\4.4.0.49\windows\Grid.Grouping.Windows\Samples\CustomCollections\StronglyTypedCollection\

Best regards,
Haneef

Administrator [Syncfusion]
Replied On February 28, 2007 10:10 PM UTC

Thanks Haneef,
I noticed that other GGC just accept data into the new record line without the code in the sample you mentioned. I'm not sure what the arrayList(IList) and when it's appropriate to use it. Can you enlighten me on this?

Dimitri


>Hi Dimitri,

If you want to actually add new items to the arraylist(IList) through the GridGroupingControl, then you should also have your arraylist implement IBindingList to support the addnew functionality directly from the grid. Please refer this sample:

C:\Program Files\Syncfusion\Essential Studio\4.4.0.49\windows\Grid.Grouping.Windows\Samples\CustomCollections\StronglyTypedCollection\

Best regards,
Haneef

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.

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

;