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

Embed Custom Controls

2 Answers 141 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Lance Tofsrud
Top achievements
Rank 1
Lance Tofsrud asked on 04 Jun 2007, 02:52 AM
Hello,

After reading the documentation I noticed that there is support to bind columns to particular data/control types, but I was wondering if it were possible to bind a column/row to a custom user control that I have built that is comprised of various other controls.

Is this possible?

Thanks!

Lance

2 Answers, 1 is accepted

Sort by
0
Julian Benkov
Telerik team
answered on 04 Jun 2007, 01:01 PM
Hello Lance,

RadGridView can bind to any IList or IBindingList object types. If this type includes some sub objects, RadGridView can directly work with them, but in general the grid should be bound to some collection object like IList or IBindingList .

In your case you can bind custom IBindingList objects to RadGridView and also bind it to your custom user control. The IBindingList interface will guarantee the synchronization between RadGridView and your custom control.

I hope this helps.

Greetings,
Julian Benkov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Lance Tofsrud
Top achievements
Rank 1
answered on 04 Jun 2007, 02:18 PM
Doh!

Why didn't I think of that. I'll give that a shot.

Thanks for the quick reply Julian!

Lance
Tags
GridView
Asked by
Lance Tofsrud
Top achievements
Rank 1
Answers by
Julian Benkov
Telerik team
Lance Tofsrud
Top achievements
Rank 1
Share this question
or