Telerik blogs
  • Web

    MicroModels for Silverlight

    Last week I was impressed by Paul Stovell’s marvelous project – MicroModels. In a nutshell a micro model is a view model over your objects, which allow you to define dynamic properties, collection and commands. You can read more about it in Paul’s introductory blog post here. Despite its great features, “MicroModels” has one big limitation - it does not run in Silverlight. And this is where my journey began. My mission was to port the code to Silverlight with little to no modifications. Porting the code to Silverlight The task was not an easy one, but after a lot of head scratching...
    January 21, 2010 3 min read
  • 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 2 min read
  • 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 4 min read
  • 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 1 min read
  • 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 1 min read