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.

Binding to business object - Update

Thread ID:





55042 Jan 23,2007 05:28 AM Jan 23,2007 03:59 PM Windows Forms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On January 23, 2007 05:28 AM


we have a business object which is bound to a GGC. Now I have code which changes a parameter "DataValue" in conjunction of a parameter "Data". But the grid doesn't update "DataValue".

I have attached a sample where you can see what I mean. As I remember syncfusion doesn't support the microsoft INotifyPropertyChanged interface - so how can I handle this.

Thanks in advance


Administrator [Syncfusion]
Replied On January 23, 2007 03:59 PM

Hi Tom,

You can handle the SourceListRecordChanging event and set e.Cancel = true when e.TableListChangedEventArgs is null. Andalso you need to set the Engine.UseOldListChangedHandler = true. Here is a code snippet.

gridGroupingControl1.Engine.UseOldListChangedHandler = true;
gridGroupingControl1.SourceListRecordChanging += new Syncfusion.Grouping.RecordChangedEventHandler(gridGroupingControl1_SourceListRecordChanging);

void gridGroupingControl1_SourceListRecordChanging(object sender, Syncfusion.Grouping.RecordChangedEventArgs e)
if (e.TableListChangedEventArgs == null)
e.Cancel = true;

Please refer to the modified sample for implementation.

Best Regards,


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.