Telerik blogs
  • Web

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

    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...
    January 08, 2010
  • Release

    Telerik Commanding mechanism for Silverlight Overview

    Q2 and Q3 releases brought up support for commands usable in a similar way as the commanding mechanism from WPF. In a few points the Commanding mechanism provides several classes: RoutedCommand and RoutedUICommand – ICommand implementations, the second has a Text property ICommandSource – once an object implement it, it knows how to invoke a command, i.e. it receives Command, CommandParameter and CommandTarget properties. CommandBinding – maps the command logic to the command CommandManager – provides methods that register CommandBinding and InputBinding objects, add and remove command event handlers, and provides services for querying the status of a command. Creating a command Basically, we can implement the...
    January 08, 2010
  • Web

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

    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...
    January 07, 2010
  • Web

    How To: Populate RadGridView for Silverlight distinct filters asynchronously using WCF RIA Services

    With our upcoming service pack (Q3 2009 SP2) you will be able to populate distinct values asynchronously using the DistinctValuesLoading event. To achieve this you can assign any INotifyCollectionChanged collection for distinct values ItemsSource and RadGridView will update the UI immediately on any change. I’ve made small demo on how to achieve this using WCF RIA Services and RadGridView bound to DomainDataSource with DataPager – in this case the grid distinct values are populated from the entire collection server-side not only from the current downloaded page:   server-side: public List<DistinctValue> GetDistinctValues(string propertyName) { var list...
    January 07, 2010
  • Productivity

    SQL Azure Lessons Learned: Building a Commercial Product with SQL Azure Support

    As you may know Telerik has built into most of its products support for Windows and SQL Azure. While at the PDC last November, Ben Riga interviewed me on what it was like to build a commercial product on top of Azure. I give a sneak peak at how we developed the software and how we leveraged SQL Azure. I talk about some of our pain points as well as where it was easy. The video is here, complete with my cell phone’s battery dying in the middle of our interview! Enjoy! Technorati Tags: Azure,Telerik
    January 07, 2010
  • Web

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

    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...
    January 08, 2010
  • Release

    Telerik Commanding mechanism for Silverlight Overview

    Q2 and Q3 releases brought up support for commands usable in a similar way as the commanding mechanism from WPF. In a few points the Commanding mechanism provides several classes: RoutedCommand and RoutedUICommand – ICommand implementations, the second has a Text property ICommandSource – once an object implement it, it knows how to invoke a command, i.e. it receives Command, CommandParameter and CommandTarget properties. CommandBinding – maps the command logic to the command CommandManager – provides methods that register CommandBinding and InputBinding objects, add and remove command event handlers, and provides services for querying the status of a command. Creating a command Basically, we can implement the...
    January 08, 2010
  • Web

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

    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...
    January 07, 2010
  • Web

    How To: Populate RadGridView for Silverlight distinct filters asynchronously using WCF RIA Services

    With our upcoming service pack (Q3 2009 SP2) you will be able to populate distinct values asynchronously using the DistinctValuesLoading event. To achieve this you can assign any INotifyCollectionChanged collection for distinct values ItemsSource and RadGridView will update the UI immediately on any change. I’ve made small demo on how to achieve this using WCF RIA Services and RadGridView bound to DomainDataSource with DataPager – in this case the grid distinct values are populated from the entire collection server-side not only from the current downloaded page:   server-side: public List<DistinctValue> GetDistinctValues(string propertyName) { var list...
    January 07, 2010
  • Productivity

    SQL Azure Lessons Learned: Building a Commercial Product with SQL Azure Support

    As you may know Telerik has built into most of its products support for Windows and SQL Azure. While at the PDC last November, Ben Riga interviewed me on what it was like to build a commercial product on top of Azure. I give a sneak peak at how we developed the software and how we leveraged SQL Azure. I talk about some of our pain points as well as where it was easy. The video is here, complete with my cell phone’s battery dying in the middle of our interview! Enjoy! Technorati Tags: Azure,Telerik
    January 07, 2010