Unbound Mode Editors

2 posts, 0 answers
  1. jen
    jen avatar
    77 posts
    Member since:
    Jun 2009

    Posted 23 Oct 2012 Link to this post

    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: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}" />
  2. Yoan
    Yoan avatar
    1128 posts

    Posted 26 Oct 2012 Link to this post

    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.

    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top