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

Grid Does not shows value for dynamic property

2 Answers 28 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Vinod Sardar
Top achievements
Rank 1
Vinod Sardar asked on 11 Dec 2009, 10:11 AM
Hi,

I am reading the XML(Defined format XML) file and Creating the dynamic objects based on the data present in the XML.
one of the property name in XML file is "Size(MM)" Which I am creating and setting data to it.

Now, Issue comes when I bind the collection of the dynamic object to RadGridView. as  RadGridView.ItemSource=IEnum of Dynamic objects.
RadGrid view shows the column name as "Size(MM)" but does not shows the value for it, Where as it does shows values in the Filter box.

I am not understanding why is this happening....... Please let me know if anybody has faced this issue... and how to resovle this issue.

for clarification.. I am attaching the screenshot.


Thanks,
Vinod Sa.

2 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 11 Dec 2009, 01:49 PM
Hello Vinod,

 Can you verify what will be returned if you call ToString() for this property of your dynamic type? You can try also my DataTable instead where everything is working as expected.


Regards,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Vinod Sardar
Top achievements
Rank 1
answered on 14 Dec 2009, 08:28 AM
Problem is not with the data type of the value... but the name of the property.

I have added the support ticket for the same.Id-266474.


Thanks,
Vinod Sa.
Tags
GridView
Asked by
Vinod Sardar
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Vinod Sardar
Top achievements
Rank 1
Share this question
or