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

PropertyGrid not working for a nesting of multiple levels

4 Answers 61 Views
PropertyGrid
This is a migrated thread and some comments may be shown as answers.
Dwight
Top achievements
Rank 1
Dwight asked on 23 Apr 2013, 02:48 PM
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

4 Answers, 1 is accepted

Sort by
0
Yoan
Telerik team
answered on 23 Apr 2013, 03:44 PM
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.

0
Dwight
Top achievements
Rank 1
answered on 24 Apr 2013, 06:49 AM
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
0
Dwight
Top achievements
Rank 1
answered on 24 Apr 2013, 11:18 AM
Hi,

Seems to be working fine now in the newest version.

Kind regards,
Dwight
0
Yoan
Telerik team
answered on 24 Apr 2013, 11:22 AM
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.

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