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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Obtaining the new value of the cell on cellvalidating event

Thread ID:





20237 Oct 13,2004 04:30 AM UTC Oct 14,2004 09:47 AM UTC WinForms 4
Tags: Grouping
Administrator [Syncfusion]
Asked On October 13, 2004 04:30 AM UTC

i tried ggc.Table.CurrentRecord.GetData("Col1") but i always get the content of the previous state. for instance, col1 is now ''abc''. i changed it to ''def''. a debug in validating event of the ggc, i will retrieve ''abc''. now i change ''def'' to ''efg'', i will get ''def'' in the validating event. i believe there is a buffer that hold the most current data. how do i get to access that? thanks

Administrator [Syncfusion]
Replied On October 13, 2004 05:16 AM UTC

Hi Lance, you need to get e.TableControl.CurrentCell.ControlText or e.TableControl.CurrentCell.ControlValue Stefan

Administrator [Syncfusion]
Replied On October 13, 2004 11:21 PM UTC

i tried but it appears that ControlText and ControlValue is not available in e.TableControl.CurrentCell. i am using GridGroupingControl.

Administrator [Syncfusion]
Replied On October 14, 2004 06:33 AM UTC

Oops, sorry. The CurrentCell has a Renderer property, and it is the renderer that has the ControlText property.
private void gridGroupingControl1_TableControlCurrentCellValidating(object sender, GridTableControlCancelEventArgs e)

Administrator [Syncfusion]
Replied On October 14, 2004 09:47 AM UTC

cool! thanks!


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

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

Live Chat Icon For mobile
Live Chat Icon