• .NET

    Loading data with RadDomainDataSource for Silverlight

    December 27, 2010 Share
    will continue the series of blog posts about RadDomainDataSource with the most important one – the one about loading data. If you are not familiar with RadDomainDataSource then you should go back and read my introductory blog post. Let us move straight to the data load lifecycle. Triggering a Load A load operation can be triggered in two ways. You can either call the Load method explicitly or you can rely on the AutoLoad functionality, which I will explain later in this post. Building The Query After a load has been requested a query based on user input is constructed on the client. This query tells the...
  • .NET

    Introducing RadDomainDataSource for Silverlight

    December 24, 2010 Share
    am happy to announce that we have added a new data control to our Silverlight portfolio with one of our latest internal builds. The control will have its official premiere with the upcoming 2010 Q3 Service Pack 1, which is expected in early January. With the release of this service pack you will get access to all of RadDomainDataSource online examples. Since the first version of RadDomainDataSource is now 100% feature complete and has already passed QA, we have decided that we might as well share it with you as a small Christmas present. RadDomainDataSource is a Silverlight control that provides the missing...
  • .NET

    Master-Details with RadGridView for Silverlight 4, WCF RIA Services RC2 and Entity Framework 4.0

    I have prepared a sample project with the Silverlight 4 version of RadGridView released yesterday. The sample project was created with Visual Studio 2010, WCF RIA Services RC 2 for Visual Studio 2010, and ADO.NET Entity Framework (.NET 4). I have decided to use the SalesOrderHeader and SalesOrderDetails tables from the Adventure Works Database, because they provide the perfect one-to-many relationship: I will not go over the steps for creating the ADO.NET Entity Data Model and the Domain Service Class. In case you are not familiar with them, you should start with Brad Abrams’ series of blog posts and read this blog after that. To enable the...
  • .NET

    RadGridView for Silverlight and WCF RIA Services Part II: Basic Editing Support

    January 08, 2010 Share
    In my previous blog post I have demonstrated how to display master-details data in an asynchronous manner with RadGridView for Silverlight and WCF RIA Services. I have decided to refactor the sample project a little bit and add some very basic editing support. Here is the changes I have made to the sample project: I have recreated the ChinookService to support editing. I have encapsulated the details grid into a new user control called AlbumsControl. I have added a “Submit Changes” button below the details grid. I got rid of the IValueConverter that used to create the albums DomainDataSource and defined everything in...
  • .NET

    Asynchronous Master-Details with RadGridView for Silverlight and WCF RIA Services

    January 07, 2010 Share
    Inspired by Brad Abrams’ marvelous series of blog posts, I have decided to create a simple project demonstrating how to harness the enormous power of RIA Services with Telerik RadGridView for Silverlight. I have decided to use the new Chinook database after reading this wonderful post by Tim Heuer explaining how to work with relational data in the RIA Services paradigm. Make sure you have this database installed on the default instance of your SQL Server 2008 Express or you will have to modify the connection string as needed. In one of my previous blog posts I have thoroughly explained How To Display Hierarchical Data with...