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

RIA Services support

8 Answers 184 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
GEB
Top achievements
Rank 1
GEB asked on 08 Apr 2009, 10:48 PM
I'd like to take advantage of the new RIA Services features in SL3, including data paging.  Does the RadGrid support the pagng features of RIA Services, including sorting using a DomainDataService?

8 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 13 Apr 2009, 08:54 AM
Hi GEB,

Indeed the grid can be paged completely codeless. I've attached small demo application to illustrate you this.

Regards,
Vlad
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
GEB
Top achievements
Rank 1
answered on 13 Apr 2009, 10:58 AM
Vlad, thanks for the quick turnaround on the example.  I haven't tried it yet, but I assume that there would be no issue using PageSize anbd LoadSize on the DDS in MainPage.xaml for this example?  And, looking at your example, this appears to work exactly like the SL3 DataGrid regarding DDS, paging, etc., which is exactly as I had hoped.
0
GEB
Top achievements
Rank 1
answered on 13 Apr 2009, 12:50 PM
Vlad, I'm currently using Sql Server 2008 on my development machine.  What are the steps necessary to access the demo database you included in the example?  Don't I have to change the Connection String in config.web?  I have not imported a database before, and understanding the steps would be helpful.  Thanks again for the quick turnaround on the example.  I'm glad to hear that RadGridView is fully compatible with the new RIA Services, including paging, sorting, etc.  As my database will be quite large, paging (while still allowing the user to sort) is a must.
0
Vlad
Telerik team
answered on 14 Apr 2009, 01:41 PM
Hi GEB,

Currently our official SL3 build does not support fully DomainDataSource however we already have internal build with full support for grouping, sorting, paging and auto-generated columns.

You can change the connection string in the web.config file:

  <connectionStrings>
    <add name="NorthwindConnectionString" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Northwind.mdf;Integrated Security=True;User Instance=True"
     providerName="System.Data.SqlClient" />
  </connectionStrings>

Don't hesitate to contact us if you have other questions.

Best wishes,
Vlad
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Dario
Top achievements
Rank 1
answered on 25 May 2009, 03:08 PM
Hi Vlad, 
Has your internal build become official by now? 
A month has passed after your comment...  :)


0
Vlad
Telerik team
answered on 26 May 2009, 07:41 AM
Hi Dario ,

We will do our best to update our latest SL3 binaries today.

All the best,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Dario
Top achievements
Rank 1
answered on 26 May 2009, 12:05 PM
That would be great, Thanks :)

Also,I have another question regarding the SL3 build. There are two dlls in the folder:
System.Windows.dll
System.Windows.Controls.Data.dll
I am a little confused by them, how do they differ from Microsoft's dlls?

And finally, I am trying to convert some of your examples written for SL2, and aftersome time, I've managed to get to just one error:
Apparently,the type 'System.ComponentModel.ListSortDirection' exists in both system.dll and System.Windows.Controls.Data.dll 
Any pointers regarding this would be greatly appreciated. 
 
0
Vlad
Telerik team
answered on 26 May 2009, 12:10 PM
Hello Dario ,

Generally you do not need System.Windows.Controls.Data.dll for SL3 - please remove this reference to avoid further problems.

Regards,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
General Discussions
Asked by
GEB
Top achievements
Rank 1
Answers by
Vlad
Telerik team
GEB
Top achievements
Rank 1
Dario
Top achievements
Rank 1
Share this question
or