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.

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

Thread ID:





9914 Jan 16,2004 02:18 AM Jan 16,2004 04:06 AM Windows Forms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On January 16, 2004 02:18 AM

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 04:06 AM

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"; }


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.

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.