This is a migrated thread and some comments may be shown as answers.

Unbound Mode Editors

1 Answer 52 Views
PropertyGrid
This is a migrated thread and some comments may be shown as answers.
jen
Top achievements
Rank 1
jen asked on 23 Oct 2012, 05:01 PM
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>

1 Answer, 1 is accepted

Sort by
0
Yoan
Telerik team
answered on 26 Oct 2012, 10:40 AM
Hello Jen,

Indeed, your XAML is correct. May be you have some issue with the data. Please check the attached demo project for a reference. If this does not help, may I ask you to send me sample project or modify mine in order to reproduce the problem? Note that in order to send me demo project you should open new support ticket.

Greetings,
Yoan
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
PropertyGrid
Asked by
jen
Top achievements
Rank 1
Answers by
Yoan
Telerik team
Share this question
or