Last Updated: 13 Mar 2019 12:12 by ADMIN
Martin Ivanov
Created on: 30 Jan 2019 12:39
Category: PropertyGrid
Type: Bug Report
PropertyGrid: The error tooltip disappears when filter or change between the Categorize and Alphabetical views

If you have a data validation, and there is an invalid field with the red border around it, if you hide this field via the filtering feature or the collapsing its group, the validation red border (and the tooltip) disappears.

To resolve this, you will need to update the ErrorTemplate of the input field (the TextBox). You can do this in the FieldLoaded event handler.

private void RadPropertyGrid_FieldLoaded(object sender, Telerik.Windows.Controls.Data.PropertyGrid.FieldEventArgs e)
    if (e.Field.Content is TextBox)
        var editor = (TextBox)e.Field.Content;
        var bindingExpression = BindingOperations.GetBindingExpression(editor, TextBox.TextProperty);
        if (bindingExpression.ValidationError != null)
            var errorTemplate = Validation.GetErrorTemplate(editor);
            Validation.SetErrorTemplate(editor, null);
            Validation.SetErrorTemplate(editor, errorTemplate);

1 comment
Posted on: 13 Mar 2019 12:12

The fix for this issue will be available with the next LIB (version 2019.1.318) expected on Monday, March 18.

Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.