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

Binding to objects

1 Answer 39 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Laurent Donstetter
Top achievements
Rank 1
Laurent Donstetter asked on 23 Jan 2010, 12:20 AM

Hi,

I am working on an application generator and I need to code generic "browse" pages that automatically populate a grid with all instances of a given type. Everything in my application is object driven so I use an ObjectDataSource.

Problem : I need to bind some columns to property types that are not on the bindable type list... When the type is not bindable I just need to display the result of the ToSTring() method.

How can I do that ??

Thanks in advance,
Laurent.

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 26 Jan 2010, 11:46 AM
Hi Laurent,

You can use template columns in this case and provide desired value for grid cells.

Sincerely yours,
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.
Tags
Grid
Asked by
Laurent Donstetter
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or