Completed
Last Updated: 17 Mar 2014 17:06 by ADMIN
InvalidCastException is thrown when binding PropertyGrid.Item to collection. The exception is thrown in \\Core\Data\Extensions\FuncExtensions.cs. 

Unable to cast object of type 'System.Collections.Generic.List`1[System.Windows.Window]' to type 'Telerik.Windows.Controls.Data.PropertyGrid.PropertySet'.

Resolved with LIB version 2014.1.317
Unplanned
Last Updated: 30 Apr 2019 07:28 by ADMIN
 SelectedPropertyDefinitions are not cleared when RadPropertyGrid.Item being changed.
Unplanned
Last Updated: 19 Jul 2018 15:56 by Chris
Completed
Last Updated: 26 May 2022 08:04 by ADMIN
Release LIB 2022.2.530 (30 May 2022)
Created by: dj
Comments: 0
Category: PropertyGrid
Type: Bug Report
3
 
Unplanned
Last Updated: 03 Aug 2016 14:11 by ADMIN
Unplanned
Last Updated: 03 Aug 2016 14:12 by ADMIN
Completed
Last Updated: 18 Oct 2016 13:29 by ADMIN
Completed
Last Updated: 21 Nov 2014 11:31 by ADMIN
Should be resolved with lib version 2014.3.1124.
Completed
Last Updated: 04 Nov 2020 16:33 by ADMIN
Completed
Last Updated: 19 Mar 2019 07:43 by ADMIN
Nested properties are not loaded when the ComponenetType does not match the DeclarationType. The same setup is correctly presented when using the UI for WinForms' PropertyGrid.
Completed
Last Updated: 13 Mar 2019 12:12 by ADMIN

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

Completed
Last Updated: 20 Mar 2018 16:15 by ADMIN
Available in the 2017 R2 Release.
Completed
Last Updated: 05 Jun 2017 12:01 by ADMIN
RadPropertyGrid exposes PropertySetsValidationFunc property that validates the new value of a property. However, it is executed after the property is set. PropertyGrid should validate them before the setter is invoked.


Available in LIB version: 2017.2.605
Completed
Last Updated: 12 May 2017 13:00 by ADMIN
Nullable properties with non-matching values are not updated after clearing the entire text of the field(PropertySets).


Available in LIB version: 2017.2.515
Completed
Last Updated: 12 May 2017 12:14 by ADMIN
The editor of nullable properties with non-matching values does not display the default value for this type(null) using PropertySets.


Available in LIB version: 2017.2.515
Completed
Last Updated: 26 Jan 2017 16:14 by ADMIN
Foreground defined within PropertyGridField's Label Style is not applied in Expression_Dark theme.

1 2 3