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

Setting the value of a column to an object's object

1 Answer 56 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Brendan Vogt
Top achievements
Rank 1
Brendan Vogt asked on 21 Aug 2008, 01:10 PM
Hi,

I am populating my grid from my Account object using the grid bound column.  I am having a problem because in my Account object there is a Currency object.

If I need the currency description through a loop, I would do it like:

account.Currency.Description

How do I add such a property's value to a column in my grid?

Please can some one help?

Thanks
Brendan

1 Answer, 1 is accepted

Sort by
0
Leon
Top achievements
Rank 1
answered on 21 Aug 2008, 08:01 PM
Brendan,

Look at the Binding to Sub Objects Grid on the demo below:

http://www.telerik.com/demos/aspnet/prometheus/Grid/Examples/Programming/Binding/DefaultCS.aspx

See the documentation describing this topic as well.

Thanks!
~Leon
Tags
Grid
Asked by
Brendan Vogt
Top achievements
Rank 1
Answers by
Leon
Top achievements
Rank 1
Share this question
or