Completed
Last Updated: 27 Jun 2023 11:25 by ADMIN
Release LIB 2023.1.703 (3 Jul 2023)
When a PropertyDefinition with binding to an attached property is added to the PropertyDefinitions collection, the created editor is not bound correctly. 
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
 
Completed
Last Updated: 15 Feb 2022 16:31 by ADMIN
Release R1 2022 SP1
The following exception is thrown when changing the value of specific properties.
InvalidCastException: 'Object must implement IConvertible.'

This happens if the bound property is of a base type and the provided value is of a type that inherits the base type. For example, if you bind to a property of type Brush and you assign a value of type SolidColorBrush.
Completed
Last Updated: 05 Dec 2021 16:21 by ADMIN
Release LIB 2021.3.1206 (6 Dec 2021)

When a RadPropertyGrid instance is placed inside a RadBusyIndicator, the StyleManager cannot apply the styles correctly and it causes an InvalidOperationException at runtime.

Workaround: Use the NoXaml version of the assemblies with the needed themes.

Completed
Last Updated: 04 Nov 2020 16:33 by ADMIN
Completed
Last Updated: 16 Apr 2019 12:53 by ADMIN
Release LIB 2019.1.422 (04/22/2019)
When the PropertyDefinition of the AutoGeneratingPropertyDefinitionEventArgs is set for a nested property definition, it is not respected. 
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: 27 Jun 2018 16:09 by Andre
Completed
Last Updated: 20 Mar 2018 16:15 by ADMIN
Available in the 2017 R2 Release.
Completed
Last Updated: 23 Nov 2017 09:40 by ADMIN
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: 18 Apr 2017 07:40 by ADMIN
Modify the current implementation so that the TypeConverter is applied as well when its GetStandardValues method is not overriden.

Available in LIB version 2017.1.417 , it will be also available in the R2 2017 Release. 
Completed
Last Updated: 18 Apr 2017 07:30 by ADMIN
If an EditorAttribute's EditorStyle is set to None and a custom usercontrol is used as an editor, the DataContext of the usercontrol is not respected.


Available in LIB version 2017.1.417 , it will be also available in the R2 2017 Release. 
Completed
Last Updated: 13 Mar 2017 15:21 by Alex
Hello,
my question is about RadPropertyGrid.
The case if following. I use objects implementing ICustomTypeDescriptor, call it ClassTypeDescriptor, as items source for property grid and properties are derived from PropertyDescriptor class. It is important to have these objects grouped and sorted. That's why I pass System.ComponentModel.DataAnnotations.DisplayAttribute with GroupName and Order values set to the constructor of PropertyDescriptor. If I bind Item property of property grid direct to ClassTypeDescriptor, everything works like a charm, properties get grouped and sorted. But if I bind Item property to the List or any other collection of ClassTypeDescriptor, independently from the count of elements in it, grouping is getting lost and sorting is not applied also. I attach the demo solution to this report and hope for the quick answer.

P.S.: I've tried the same case but with "normal" object with properties. And grouping and sorting work even if I bind a collection to Item property of PropertyGrid

Thank you in advance
Alexander Sherekin
Completed
Last Updated: 26 Jan 2017 16:14 by ADMIN
Foreground defined within PropertyGridField's Label Style is not applied in Expression_Dark theme.

Completed
Last Updated: 23 Jan 2017 06:51 by ADMIN
GetStandardValuesSupported and GetStandardValues methods of a type converter are not called.

Available in the 2017 R1 Release (2017.1.117).
1 2