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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Bug test

Thread ID:





9184 Dec 9,2003 08:16 PM UTC Dec 9,2003 09:35 PM UTC WinForms 1
Tags: GridControl
Steli Andrei
Asked On December 9, 2003 08:16 PM UTC

Hei guys, I am running one of the Essential Grid Samples: DataBound - GDBGcombos. If I select one of the Employees and delete the cell text and then Click (don''t tab out) on a different column, I get a weird message box with no title. Is there anyway of preventing that from happening, in other words capturing the error and displaying another message.

Administrator [Syncfusion]
Replied On December 9, 2003 09:35 PM UTC

You can handle CurrentCellValidating. Here is a snippet for the problem you sited.
private void grid_CurrentCellValidating(object sender, CancelEventArgs e)
	GridCurrentCell cc = this.gridDataBoundGrid1.CurrentCell;
	if(cc.ColIndex == 3 && cc.Renderer.ControlText.Length == 0)
		e.Cancel = true;
		this.gridDataBoundGrid1.CurrentCell.ErrorMessage = "No empty values";


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