Welcome to the Xceed Community | Help
Community Search  
More Search Options

Browse by Tags

All Tags » Validation Rules   (RSS)
Showing page 1 of 2 (13 total posts)
  • Re: How to set error tooltip content? Part II

    Hi james,  To return a custom validation message, you’ll need to return        new ValidationResult( false, ''My custom message.'' );in the validation function in the code-behind.  For more information, you may check the example ...
    Posted to Xceed DataGrid for WPF (Forum) by Sebastien [Xceed] on August 14, 2012
  • Cell Validation

    I am trying to get custom date validation working on an editable cell. Using                                         <xcdg:Column ...
    Posted to Xceed DataGrid for WPF (Forum) by Peter on January 1, 2012
  • Driving validation from code

    Hello, Let's get directly into the problem. I want to validate a row calling explicitly the ''Validate'' method of the CellEditorManager or override its ''ValidateCore'' method but I can't it neither on CellEditors nor Column objects in the WPF assembly Xceed.WPF.DataGrid . How can I force the validation of a complete DataRow when a cell content ...
    Posted to Xceed DataGrid for WPF (Forum) by Grégoire on May 9, 2011
  • DataGrid CellValidationRule across rows

    Hi  I am trying to implement a CellValidationRule that will throw an error if a duplicate entry exists in the grid already.  The problem is that within my custom validation method, the thrid parameter ''CellValidationContext context'' refers to a cell, and i can not gain access to the grid control from this object. I can get the ...
    Posted to Xceed DataGrid for WPF (Forum) by vin on June 23, 2010
  • Datagrid CellValidationRule to occur on keypress

    Hi,  We are currently using xceed v3.1.9175.12000, and i am trying to implement a custom CellValidationRule  by adding the custom class to a column's CellValidationRules collection. The validation is only fired when the user moves away from that cell.  However when i observe the standard behaviour of an xceed rule (e.g ...
    Posted to Xceed DataGrid for WPF (Forum) by vin on May 3, 2010
  • Disabling validation

    Is there an easy way to disable validation within the entire datagrid when bound to objects that implement IDataErrorInfo?
    Posted to Xceed DataGrid for WPF (Forum) by Ketan on May 29, 2009
  • Validating event is not raised

    Hello,  I have a column which I would like to validate with custom validation rule. I've found EventCellValidationRule class in documentation and created a derieved class:      public class AttributeValueValidationRule : EventCellValidationRule     {         public override ValidationResult Validate(object value, CultureInfo cultureInfo,      ...
    Posted to Xceed DataGrid for WPF (Forum) by Igor on April 29, 2009
  • How to databind to RowValidationError / CellValidationError?

    I need to display the cell error text in a textblock above the grid, how do I databind to it? Is there a way to get all the data errors in a row? 
    Posted to Xceed DataGrid for WPF (Forum) by Manoharan on March 13, 2009
  • Re: Stack overflow on validations after update to 3.1 from 2

    Here you are the code. The highlighted code is the line where the Stack Overflow exception is thrown (because the validation rule executes once and once again when the underlying data is changed) : public override ValidationResult Validate(object value, CultureInfo cultureInfo, CellValidationContext cellValidationContext) { int ...
    Posted to Xceed DataGrid for WPF (Forum) by Antonio on February 3, 2009
  • Stack overflow on validations after update to 3.1 from 2

    Hi, I got a stack overflow in the validation after upgrading to 3.1. The validation rule changes the underlying dataset through the cellValidationContext.DataItem, and with this new version every change to this raises the execution of validation rule again, resulting in a stack overflow exception. This behaviour doesn't happen in the 2.0 version ...
    Posted to Xceed DataGrid for WPF (Forum) by Antonio on February 2, 2009
1 2 Next >
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2011 Xceed Software Inc.