Hi,
I am trying to build a prototype with your RadGridView control (version 2009.3.1211.1040) in SL 4, WCF RIA Services Preview, VS 2010 Beta 2. Basically I have created a Silverlight Application project and let it create the web project for me. In the web project I created an entity data model pointing to a few tables in a database. Then I added a new Domain Service Class to the project pointing it to my entity data model. It generates the code in the SL project fine. I lay a RadGridView, DataPager, and DomainDataSource down on the page. I have configured the DomainDataSource to pull data from my RIA Service in the web project, and bind it to RadGridView and DataPager.
When I run my project I can see the RadGridView skeleton but it never gets any data loaded and no columns are auto-generated. The DataPager on the other hand seems to work fine in terms of I can see and accurate page count for the page size. If I debug the app I can see the DomainDataSource's data property containing all the entities returned from the query. When I assign this to my RadGridView's ItemsSource property in code I can also see all the items are populated as expected. For some reason it isn't loading the data in the RadGridView though. Is this a potential bug or am I doing something wrong?
I have used VS 2010 Beta 2 and successfully got the RadGridView working by using WCF Data Services. I was having some issues getting the paging work work like I wanted so made an attempt to go with RIA Services since it seems to better manage data access from the middle tier.
Any help would be greatly appreciated!
I am trying to build a prototype with your RadGridView control (version 2009.3.1211.1040) in SL 4, WCF RIA Services Preview, VS 2010 Beta 2. Basically I have created a Silverlight Application project and let it create the web project for me. In the web project I created an entity data model pointing to a few tables in a database. Then I added a new Domain Service Class to the project pointing it to my entity data model. It generates the code in the SL project fine. I lay a RadGridView, DataPager, and DomainDataSource down on the page. I have configured the DomainDataSource to pull data from my RIA Service in the web project, and bind it to RadGridView and DataPager.
When I run my project I can see the RadGridView skeleton but it never gets any data loaded and no columns are auto-generated. The DataPager on the other hand seems to work fine in terms of I can see and accurate page count for the page size. If I debug the app I can see the DomainDataSource's data property containing all the entities returned from the query. When I assign this to my RadGridView's ItemsSource property in code I can also see all the items are populated as expected. For some reason it isn't loading the data in the RadGridView though. Is this a potential bug or am I doing something wrong?
I have used VS 2010 Beta 2 and successfully got the RadGridView working by using WCF Data Services. I was having some issues getting the paging work work like I wanted so made an attempt to go with RIA Services since it seems to better manage data access from the middle tier.
Any help would be greatly appreciated!