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.

Event fired after new record is added via AddNewRecord line

Thread ID:





75667 Aug 5,2008 07:59 AM Aug 6,2008 04:48 AM Windows Forms 1
Tags: GridControl
Asked On August 5, 2008 07:59 AM

Is there any event fired after the user adds a new record to the grid. I want to validate the record in that event cancel it if it's not valid.

I'm using grouping grid by the way.

Nirmal Raja [Syncfusion]
Replied On August 6, 2008 04:48 AM

Hi Tayfun,

Thank you for your interest in Syncfusion product.

The GridGroupingControl has an event called SourceListListChangedCompleted, which will fire when the table occur any changes.
The property called ListChangedType in the event will be refered and if a new row is added, the property will be assigned as ItemAdded.
So, this contion will be fired when a new row is created.

Please refer the below sample for detail:

Let me know if you have any queries.



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.