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.
Syncfusion Feedback

GDBG : DataError

Thread ID:

Created:

Updated:

Platform:

Replies:

52836 Dec 5,2006 09:58 AM UTC Dec 5,2006 11:26 AM UTC Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On December 5, 2006 09:58 AM UTC

Hi,
I seek an event “DataError” like that of DataGridView with GDBG

THanks

Administrator [Syncfusion]
Replied On December 5, 2006 11:26 AM UTC

Hi,

In the Essential Studio 4.2, We have newly added a CurrentCellErrorMessage event which you can handle and display your own custom message box whenever the grids CurrentCell.DisplayWarningText (as a result of some kind of validation error) is called. Please refer to the attached sample for implementation.

Sample: GDBGErrorMessage.zip

private void gridDataBoundGrid1_CurrentCellErrorMessage(object sender, Syncfusion.Windows.Forms.Grid.GridCurrentCellErrorMessageEventArgs e)
{
MessageBox.Show(e.Text,"NewError",MessageBoxButtons.OKCancel );
e.Cancel = true;
}

Best Regards,
Haneef

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.

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

;