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

How to customize messages like "The ... column value can''t be null"

Thread ID:

Created:

Updated:

Platform:

Replies:

9914 Jan 16,2004 07:18 AM UTC Jan 16,2004 09:06 AM UTC WinForms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On January 16, 2004 07:18 AM UTC

When I leave a row with a cell improperly filled I''m getting a subject message. It''s OK, but I''d like to put there my own. What can I do? Grateful in advance, Alexey

Administrator [Syncfusion]
Replied On January 16, 2004 09:06 AM UTC

If it is a GridDataBoundGrid, you can handle the ValidateFailed event, and set the ErrorMessage there. this.gridDataBoundGrid1.ValidateFailed += new GridValidateFailedEventHandler(grid_ValidateFailed); private void grid_ValidateFailed(object sender, GridValidateFailedEventArgs e) { this.gridDataBoundGrid1.CurrentCell.ErrorMessage = "MyMessage"; }

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.

Please sign in to access our forum

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

;