Hi
I want to upgrade my application from WinForm to WPF, and I have a lot UltraDataSource binding to Ultradatagrid with asynchrone data loading and dynamically generated columns and rows.
It's seem that is not possible to bind a UltraDataSource to DataSource of XamDataGrid.
How can I reuse my UltraDataSource.
thx for your help
Hello pebg,
The UltraDataSource does not implement IEnumerable and therefore cannot be directly used to set the XamDataGrid's DataSource property. For further reference I can suggest you have a look at the following forum thread which seems to discuss the same topic:
http://forums.infragistics.com/forums/p/45557/246940.aspx
Based on this in your case it may be more suitable if you change your data source to ObservableCollection or DataTable. You can have a look at the following link from our documentation for further reference about the data sources that XamDataGrid supports:
http://help.infragistics.com/NetAdvantage/WPF/2011.2/CLR4.0/?page=xamData_About_Data_Binding.html
If you have any additional questions on this matter, please do not hesitate to ask.