Telerik blogs
  • Desktop WPF

    Filtering GridViewComboBoxColumn in RadGridView for WPF

      GridViewComboBox column is used to display lookup data in user friendly manner. For our demo we bind RadGridView for WPF to a collection of custom Location objects.       As you may notice – each location has a selectable Country field.  Here is the underlying ‘data model’.   public class Location { public int CountryID { get; set; } public string CityName { get; set; } } public class Country { public int ID { get; set; } public string Name { get; set; } }   The location object contains the integer CountryID.Each CountryID corresponds to a certain country and with the help of GridViewComboBoxColumn we see some human readable country names instead of the...
    January 20, 2010
  • Web

    Highlighting Inline Search for RadGridView for Silverlight

    A common request on our forums is how to enable the Search As You Type online example to search in DateTime or Integer properties. Also recently another request was brought to our attention: How to highlight the matching search text in the grid cells. In this blog post I’m going to show you how to achieve these goals.   Let’s start our journey, by looking at the MainPage.xaml of the attached sample application:     1 <UserControl x:Class="DateTimeFiltering.MainPage"     2    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"     3    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"     4    xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GridView"     5    xmlns:themes="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"     6    xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"     7    xmlns:local="clr-namespace:DateTimeFiltering"     8    xmlns:jeff="clr-namespace:JeffWilcox.Samples;assembly=HighlightingTextBlock">    ...
    January 18, 2010
  • Web

    Displaying images stored in MS SQL with RadGridView for Silverlight

    There are different ways to store images in a SQL database. In our little demo  we have the images placed as binaries in an image type column in a MS SQL table.. As you may know Silverlight works with a limited range of image formats(PNG and JPG). Therefore I have prepared a small sample database with a few jpeg images inside.   Silverlight being a client platform does not have direct access to the SQL server. It needs some server-side code to fetch the data. For the purposes of this demo I have used a WCF service  and Linq To Sql to connect to the database...
    January 12, 2010
  • Release

    Telerik RadControls for Silverlight/WPF Roadmap Q1 2010

    For the upcoming Q1 2010 we will mostly work on improving and further polishing our current offering. We will work in several major directions – Performance improvements, VS 2010/Blend Design-time support improvements, Themes and Animations improvements, new Documentation, Assemblies’ size optimizations, Silverlight 4 builds. We are aware that the major tasks mentioned above are highly critical for most of our users and we will be putting lots of efforts into meeting our customers’ expectations.  The full Roadmaps can be found at: RadControls for Silverlight RadControls for WPF In these Roadmaps we included not only tasks that will be fully completed during this quarter, but also other major initiatives, which we have already started and on...
    January 11, 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