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

Data validation

Thread ID:





16576 Jul 20,2004 10:19 AM UTC Jul 21,2004 09:10 AM UTC WinForms 2
Tags: GridControl
Kewalramani Kanchan
Asked On July 20, 2004 10:19 AM UTC

The grid prompts a validation for data type errors and we are able to overwrite that message text using the ErrorMessage property in CurrentCellValidating(). Is there a way to display custom Title and Icon on this message prompt.

Administrator [Syncfusion]
Replied On July 20, 2004 12:50 PM UTC

No, not really. But if you are using a GridDataBoundGrid, then you can catch the grid.ValidateFailed event and display your own messagebox there setting e.Handled = true. If you are using a GridControl, then you can handle CurrentCellMovedFailed, and there display a message. You would want to set grid.CurrentCell.ErrorMessage = "" to tell the grid not to diplay its message in this case.

Kewalramani Kanchan
Replied On July 21, 2004 09:10 AM UTC

Thanks....will try to implement the same


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