Telerik blogs

Latest

For the latest product updates, please visit Release.

  • 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...
    May 27, 2021 3 min read
  • 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...
    May 27, 2021 2 min read
  • Desktop WPF

    WPF / Silverlight: How-to improve user experience when placing RadChart in a container that changes size rapidly on user demand

    I must admit that coming up with a meaningful and relatively short title was really hard this time. Anyway, here is the scenario: You have a page layout with Grid panel with several cells and one of the cells is occupied by a RadChart control instance. Your requirements indicate that the grid layout should be flexible so you have placed several grid splitters in your panel as well. Soon enough, one of your QAs decides to play around with the GridSplitter and notices that the application slows down and becomes irresponsive (and can even crash) when the splitter is dragged around...
    May 27, 2021 3 min read
  • Desktop WPF

    WPF / Silverlight: Integrating RadChart and RadContextMenu Controls

    One common request that we are receiving recently is how to integrate the RadChart and RadContextMenu controls so they play nicely together. A typical real-life scenario would probably require that each ChartItem should display different (context-specific) set of menu items. In order to address the increased interest in this functionality we decided to add a new integration example for the Q1 2010 release but for those of you that need something working right now, here is a quick overview of the required steps to add context-specific menu to Bar series items in RadChart (this can be applied to any series...
    May 27, 2021 3 min read
  • Desktop WPF

    Empty data template in RadGridView for Silverlight (and WPF)

      One more RadGridView behavior frequently requested by our clients is to display a message when there are no records to display. A typical real life scenario would be a RadGridView displaying a list of search results. When there are no results found we would like to have a message like “No results found!” displayed in RadGridView.       UPDATED VERSION FOR SL4 If you download the project above , you will see that if you get the EmptyDataTemplateBehavior.cs into your project, setting the empty data template will be as easy as writing a few lines of XAML : <telerik:RadGridView x:Name="RadGridView1" > <i:Interaction.Behaviors> <local:EmptyDataTemplateBehavior> <local:EmptyDataTemplateBehavior.EmptyDataTemplate> <DataTemplate> <TextBlock Text="No results...
    May 27, 2021 1 min read