Telerik blogs

Latest

  • Desktop WPF

    Conditional styles and templates with RadGridView for Silverlight and WPF

    I’m happy to announce that with our upcoming Q1 2010 Service Pack 1 (middle of April) you will be able to apply conditionally styles and templates for RadGridView easily using DataTemplateSelectors and StyleSelectors for both Silverlight and WPF: You can test the new functionally with our upcoming latest internal build this Friday and in the meantime here is an example: XAML <Grid x:Name="LayoutRoot"> <Grid.Resources> <local:MyStyleSelector x:Key="styleSelector" /> <local:MyDataTemplateSelector x:Key="templateSelector" /> </Grid.Resources> <telerik:RadGridView AutoGenerateColumns="False" ItemsSource="{Binding}" RowStyleSelector="{StaticResource styleSelector}"> <telerik:RadGridView.Columns> ...
  • Desktop WPF

    Command Row for RadGridView with CRUD operations

    In my first blog post I will GridView extension that many people requested similar to ASP.NET UI experience – executing CRUD operations using buttons to execute. Bellow I will show one option to achieve this easily using the implementation of the Command pattern and attached behaviors approach available in Silverlight and WPF. Short overview of the command pattern Command pattern encapsulates a request as an object and gives it a known public interface. Using this pattern ensures that every object receives its own commands and provides a decoupling between sender and receiver. A sender is an object that invokes an operation (usually...
    March 24, 2010
  • Desktop WPF

    Restyling RadDataPager for WPF and Silverlight

      A small but powerful control has joined the great family of Telerik XAML controls with the recent release. RadDataPager is a result of an increasing demand from our customers who needed to work with large amounts of server data presented in small portions at the client side.  The primary goal was to make a powerful data paging control to be used in any scenarios requiring getting and presenting portions of data. How good is RadDataPager in working with paged data you can see in Rossen's announcement. Yet being a XAML control it challenged us...
    March 16, 2010
  • Desktop WinForms

    Applying Themes at Runtime with the RadControls for WinForms

    When using applications, people generally enjoy personalizing their experience to some degree. Allowing your applications users to choose from a set of pre-defined custom themes is one way to accomplish this. Achieving this functionality is actually quite easy through the use of RadControls for WinForms. Today I am going to show you how. Please note that I am using the Q1 2010 beta of the RadControls for WinForms in this blog entry. Telerik Themes The default installation of RadControls for WinForms includes several pre-defined themes that you can use in your application. To begin using them, you simply need ...
    March 01, 2010
  • Desktop WinForms

    Styling Basics with Visual Style Builder for WinForms

    With the Q1 2010 Release of the RadControls for WinForms, we are bringing you a powerful new version of Visual Style Builder (VSB). This new version of VSB makes building themes a breeze with its new Theme Repositories feature. Today I thought I would spend some time going over the basics of VSB and its new system of Theme Repositories. Theme Repositories In previous versions of VSB, it was only possible to change theme properties on a per-element basis. This means that when building a theme, you actually had to select each individual element of every single control and ...
    March 01, 2010