PropertyGrid not working for a nesting of multiple levels

5 posts, 0 answers
  1. Dwight
    Dwight avatar
    12 posts
    Member since:
    Feb 2013

    Posted 23 Apr 2013 Link to this post

    Hi all,

    It seems like I've hit a limitation with the RadPropertyGrid.
    I have a class which has a few children and these children have other children. At the deepest level, the class has some primitive properties like int's and strings. When binding to an instance of the parent class with the children populated, the grid does not display their values. It does show the property names.

    So consider the following object graph:

    Class A
    - Class B
    -- Class C
    --- A = 1
    --- B = 2
    --- C = 3
    --- D = 4
    --- Name = "Test"

    It shows the output in attached screenshot 01.

    What's even more strange is the following:
    When I add a property to Class A & Class B of type Class C and give them all the same name but set different instances of the class C, then all will display the values of the instance directly under A.
    See screenshot 02 for output, very strange behavior.

    I does display a binding error when collapsing the deeper nested levels...

    Hope someone from Telerik can clear up some confusion.

    A vs2010 solution can be found at the following url in which you can see the explained behaviour.
    h ttp://www.filedropper.com/propertygridtest

    Kind regards,
    Dwight
  2. Yoan
    Admin
    Yoan avatar
    1070 posts

    Posted 23 Apr 2013 Link to this post

    Hi,

    Thank you for the sample project!

    I have tested it with our latest official release (Q1 2013 SP1) and everything is working as expected.

    Would it be possible to let me know what exactly version of RadGridView you are using?


    Kind regards,
    Yoan
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. UI for WPF is Visual Studio 2017 Ready
  4. Dwight
    Dwight avatar
    12 posts
    Member since:
    Feb 2013

    Posted 24 Apr 2013 Link to this post

    The previous one, 2013.Q1 (v2013.1.220.40), I will try the new version.
    I'll let you know if it works in my application, thanks already!

    Kind regards,
    Dwight
  5. Dwight
    Dwight avatar
    12 posts
    Member since:
    Feb 2013

    Posted 24 Apr 2013 Link to this post

    Hi,

    Seems to be working fine now in the newest version.

    Kind regards,
    Dwight
  6. Yoan
    Admin
    Yoan avatar
    1070 posts

    Posted 24 Apr 2013 Link to this post

    Hi Dwight,

    I am glad to hear that. Thank you for the update.

    Please if you face any further difficulties do not hesitate to contact us.

    Kind regards,
    Yoan
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top
UI for WPF is Visual Studio 2017 Ready