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

radGridView - Items vs ItemsSource

1 Answer 631 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Hadrien
Top achievements
Rank 1
Hadrien asked on 30 Jul 2013, 12:14 PM
When using RadGridView, I load the ItemsSource, but the Items are empty. Meaning that when I try to read foreach( item in radgridview.Items) it will not pick any item.

If I load the radGridView item by item using x.Items.add(), the ItemsSource is null

It was my expectation that Items and ItemSource should be linked. How can I load a bulk using ItemsSource but then use the items, or load item per item, but extract all the content using ItemSource.

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 31 Jul 2013, 11:07 AM
Hi,

How do you set the ItemsSource? Are there items in the source collection?
You can check our online documentation on WPF Demos for examples on data binding.

Regards,
Didie
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
GridView
Asked by
Hadrien
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or