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


Thread ID:





44256 May 18,2006 12:02 PM UTC May 19,2006 04:37 AM UTC WinForms 3
Tags: GridControl
Asked On May 18, 2006 12:02 PM UTC

Hi In GridControl I am changing the value of a cell and then using mouse I am closing the form, while closing if any changes asking for confirmation. If ''yes'' have to commit the changes. But since I am directly closing the form the grid Leave() event will be fired but it is happening only after ''Yes'' or ''No'' button click....How do I get the changed values?? cheers chandr

Administrator [Syncfusion]
Replied On May 18, 2006 12:21 PM UTC

Hi Chandr, Please refer to the below forum link to see if that helps. http://www.syncfusion.com/Support/forums/message.aspx?MessageID=40795 Regards, Calvin.

Replied On May 18, 2006 12:57 PM UTC

Calvin, Nop. It didnt solve my problem. 1. In a form I am having GridControl. 2. Populated with Data. 3. clicking a cell and changing the value. 4. Without clicking anywhere direcly closing the form. 5. Now the form closing event being fired.. Asking ''Save Yes/No''. 6. If i press ''Yes''..how will i get the changed cell values... Because there is no event of grid being fired once close the form..Even validating didnt fire. Note: I set the CauseValidatiion of form to ''True'' only. Pls help... Cheers >Hi Chandr, > >Please refer to the below forum link to see if that helps. > >http://www.syncfusion.com/Support/forums/message.aspx?MessageID=40795 > >Regards, >Calvin. >

Administrator [Syncfusion]
Replied On May 19, 2006 04:37 AM UTC

Hi Chandr, In the SaveCellInfo handler a flag can be set to the particular cell/row whose value has been changed and then at the end while closing the form the grid cells can be looped through and the changes can be moved back to the data table. Attached is a sample that demonstrates this. Regards, Calvin.



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

or the page will be automatically redirected to 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