Telerik blogs

Latest

  • 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
  • Desktop WPF

    Introduction to Prism with the RadControls for WPF (Webinar Resources)

    If you are interested in learning to use the Composite Application Guidance (better known as Prism), here are a few resources to get you started. Also, in case you missed it, you can watch the webinar associated with this blog entry here.   Webinar Resources Download: Project & Powerpoint Slides This download contains the project I started with in the webinar along with the completed version. Also included are the powerpoint slides. Click Here to Download Update (2/1/2010): In the video, I placed the command implementation directly in the view. The correct place to set this up is actually directly ...
    May 27, 2021 2 min read
  • Desktop WinForms

    Cascading ComboBoxes Selection in RadGridView for Silverlight and WPF

      A common scenario when entering data is a cascade of comboboxes, where the list in the next combo is populated after selecting a value in the previous. A typical example is selecting a country from a combo then selecting from a filtered list of cities in a second combo. We have had tons of questions on how this can be done within a row in RadGridVIew so I decided to make a small demo. I have used a nice List of countries by continent.           There are lots of ways to achieve this with RadGridView. Bellow I have tried to demonstrate...
    May 27, 2021 3 min read