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.

Leave

Thread ID:

Created:

Updated:

Platform:

Replies:

44256 May 18,2006 08:02 AM May 19,2006 12:37 AM Windows Forms 3
loading
Tags: GridControl
Ravichandran
Asked On May 18, 2006 08:02 AM

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 08:21 AM

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.

Ravichandran
Replied On May 18, 2006 08:57 AM

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 12:37 AM

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.

PopulationSample.zip

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.

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.

;