hi,
I am using Telerik GridView
while binding it to data source , it doesn't show the DataSource Property ,
how it will show this property, & what is the difference between DataSource and ItemSource
waiting for reply,
3 Answers, 1 is accepted
0
Pavel Pavlov
Telerik team
answered on 30 Sep 2009, 04:22 PM
Hi imee,
Can you please specify which version of RadGridView relates to the question. It is a little bit confusing as our system indicates the post is relevant to RadGridView for Winforms .
Now , both ItemsSource and DataSource properties exist in different versions of RadGridView for different platforms ( e.g. WinForms, Silverlight or WPF and even ASP.NET) . Generally they serve the same purpose.
Please specify exactly which version do you use , so we can provide the appropriate assistance.
The version specification for the controls that im using is 'RadControls for WPF Q2 2009'
0
Pavel Pavlov
Telerik team
answered on 07 Oct 2009, 12:04 PM
Hi imee,
Thanks for using our WPF controls! In the WPF and Silverlight platforms any items controls e.g. listboxes , comboboxes , datagrids etc. expose the ItemsSource property instead of the DataSource ( more typical to older ADO.NEtT , ASP , and Winforms controls) . Please use the ItemsSource property of RadGridView . You can bind to any IEnumerable collection .