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

Data validation

Thread ID:

Created:

Updated:

Platform:

Replies:

16576 Jul 20,2004 10:19 AM UTC Jul 21,2004 09:10 AM UTC WinForms 2
loading
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

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

;