RIA Services support

9 posts, 0 answers
  1. GEB
    GEB avatar
    228 posts
    Member since:
    Dec 2008

    Posted 08 Apr 2009 Link to this post

    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?
  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 13 Apr 2009 Link to this post

    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.
  3. GEB
    GEB avatar
    228 posts
    Member since:
    Dec 2008

    Posted 13 Apr 2009 Link to this post

    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.
  4. GEB
    GEB avatar
    228 posts
    Member since:
    Dec 2008

    Posted 13 Apr 2009 Link to this post

    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.
  5. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 14 Apr 2009 Link to this post

    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.
  6. Dario
    Dario  avatar
    29 posts
    Member since:
    Mar 2009

    Posted 25 May 2009 Link to this post

    Hi Vlad, 
    Has your internal build become official by now? 
    A month has passed after your comment...  :)


  7. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 26 May 2009 Link to this post

    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.
  8. Dario
    Dario  avatar
    29 posts
    Member since:
    Mar 2009

    Posted 26 May 2009 Link to this post

    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. 
     
  9. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 26 May 2009 Link to this post

    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.
Back to Top