This question is locked. New answers and comments are not allowed.
I'm trying to use the propertygrid in "Unbound mode" but no editor controls are being generated.
I am expecting that the control will look at my property definitions, see the type i'm trying to bind to (all simple data types; string decimals and bools) and generate the appropriate editor controls.
What am I missing?
<telerik:RadPropertyGrid AutoGeneratePropertyDefinitions="False" AutoGenerateBindingPaths="False" >
<telerik:RadPropertyGrid.PropertyDefinitions>
<telerik:PropertyDefinition DisplayName="Height" Binding="{Binding Inventory.dms_Unit.Height, Mode=TwoWay}" />
<telerik:PropertyDefinition DisplayName="Length" Binding="{Binding Inventory.dms_Unit.Length, Mode=TwoWay}" />
<telerik:PropertyDefinition DisplayName="Width" Binding="{Binding Inventory.dms_Unit.Width, Mode=TwoWay}" />
<telerik:PropertyDefinition DisplayName="Weight" Binding="{Binding Inventory.dms_Unit.Weight, Mode=TwoWay}" />
<telerik:PropertyDefinition DisplayName="Advertised" Binding="{Binding Inventory.Advertised, Mode=TwoWay}" />
</telerik:RadPropertyGrid.PropertyDefinitions>
</telerik:RadPropertyGrid>
I am expecting that the control will look at my property definitions, see the type i'm trying to bind to (all simple data types; string decimals and bools) and generate the appropriate editor controls.
What am I missing?
<telerik:RadPropertyGrid AutoGeneratePropertyDefinitions="False" AutoGenerateBindingPaths="False" >
<telerik:RadPropertyGrid.PropertyDefinitions>
<telerik:PropertyDefinition DisplayName="Height" Binding="{Binding Inventory.dms_Unit.Height, Mode=TwoWay}" />
<telerik:PropertyDefinition DisplayName="Length" Binding="{Binding Inventory.dms_Unit.Length, Mode=TwoWay}" />
<telerik:PropertyDefinition DisplayName="Width" Binding="{Binding Inventory.dms_Unit.Width, Mode=TwoWay}" />
<telerik:PropertyDefinition DisplayName="Weight" Binding="{Binding Inventory.dms_Unit.Weight, Mode=TwoWay}" />
<telerik:PropertyDefinition DisplayName="Advertised" Binding="{Binding Inventory.Advertised, Mode=TwoWay}" />
</telerik:RadPropertyGrid.PropertyDefinitions>
</telerik:RadPropertyGrid>