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.

Disable row change

Thread ID:

Created:

Updated:

Platform:

Replies:

105592 Oct 18,2012 02:47 AM Dec 10,2012 12:43 PM Silverlight 1
loading
Tags: GridControl
Sridharan Venkatesan
Asked On October 18, 2012 02:47 AM

Hi,

I am using GridDataControl and would like to prevent the user from changing to another row if there are unsaved changes in the row. I tried capturing the RowValidating event and setting the GridDataRowValidatingEventArgs.IsValid to false. While this inhibits the row change, visually a new row is selected. How do I disable row change on some condition?

Kannan R [Syncfusion]
Replied On December 10, 2012 12:43 PM

Hi Sridharan,

 

Thanks for using Syncfusion products.

 

We have analyzed your query and achieved your requirement by handling  CurrentCellValidating event. We have also prepared sample based on your requirement and it can be downloaded from below location.

 

Sample Location: GridDataControl_SL.zip

 

Please let us know if you have any queries.

 

Thanks,

Kannan.R


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.

;