Telerik blogs

Latest

  • Desktop WPF

    RadChart for Silverlight/WPF: Multiple Y axes support

    The secondary axes feature has been one of the most frequently requested over the time by our customers and also one of the major new development tasks that found place in our Q3.2009 schedule. Now I’m glad to announce that the wait is near its end. Our development team did their best to not only make it happen but to make it happen in time for the Q3.2009 beta 2 release(later this week). Thus, the most enthusiastic amongst you, will have the chance to grab this early release and play around with this new stuff. Let us have a brief...
    October 13, 2009
  • Web Desktop

    Adding additional power to RadGridView for Silverlight with attached behaviors

    PART II [example: Conditional formatting of cells in RadGridView for WPF and Silverlight]   Lets say we have a list of products and we need to mark higher prices (>15.00)  with a red color. Something like :     First lets try it with RadGridView for WPF : We have to create a small IValueConverter. It will take care to convert the value of the price to the appropriate color: 1: public class PriceToColorConverter : IValueConverter 2: { 3: public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo...
    October 03, 2009
  • Desktop WPF

    Making a Step chart in RadChart for Silverlight and WPF

    So a customer emailed into our office yesterday asking about whether RadChart for Silverlight supported a Step chart type.  Well, while we do have a boatload of chart types already, Step is currently not one of them.  But a Step chart is really just a Line chart with a bit of extra work, right?  With the help of our chart wizard Manol, we were able to show that the LineSeriesDefinition could, in fact, replicate a Step chart.  But that was with setting all points manually and took a bit of thinking to make sure all the steps looked right.  So...
    October 02, 2009
  • Desktop WinForms

    Draggable Series Items In RadChart for WinForms

    A few weeks ago, someone asked me if the RadChart supported dragging the series items around. The simple answer to this question is no, there is no out-of-the-box support for this feature in the RadChart. I was curious though, so I decided to try my hand at making this concept into a reality. What follows is the code I came up with to do it. Figure 1. The Final Result Fields and Constructor In the constructor I am basically generating a bunch of random values to use in the chart. As you can see, I am actually using two series. The ...
    October 02, 2009
  • Web Desktop

    Adding additional power to RadGridView for Silverlight with attached behaviors

    PART I [example: Adding an ‘Insert new row’ button to RadGridView ] Certain scenarios require adding additional behaviors and/or visuals to RadGridView. Implementing these as integrated features in RadGridView is not always appropriate as they may serve quite specific client scenarios or may require customization beyond the power of a common integrated feature. According to the canons of WPF and Silverlight such tasks should be easily achieved by modifying the default control template and adding the necessary visuals (e.g. user controls with some additional logic included). My experience with clients shows that such approach is sometimes kind-of frustrating as it often involves...
    October 01, 2009