Telerik blogs

Latest

For the latest product updates, please visit Release.

  • Desktop WPF

    RadRating – the new Precision property

    With the upcoming release Q3 of RadControls for Silverlight and WPF the RadRating will come with a new feature – the Precision property. The Precision property have three predefined values: Item - you can rate with whole item (star) Half - you can rate with half item (star) Exact - you can rate with custom precision Examples Precision = Item (rate with whole item): <telerik:RadRating Precision="Item" ToolTipService.ToolTip="{Binding RelativeSource={RelativeSource Self}, Path=Value}" /> Precision = Half (rate with half item): <telerik:RadRating Precision="Half" ToolTipService.ToolTip="{Binding RelativeSource={RelativeSource Self}, Path=Value}" /> Precision = Exact (rate with custom precision): <telerik:RadRating Precision="Exact" ToolTipService.ToolTip="{Binding RelativeSource={RelativeSource Self},...
    November 09, 2010 1 min read
  • Desktop WPF

    Programming Telerik ScheduleView for WPF/Silverlight (part 1)

    With this blog post I want to cover the very basics of our brand new RadScheduleView control. It is currently available only for WPF, but soon we will provide a Silverlight version. Please, check my FAQ about RadScheduleView blog post for more information: http://blogs.telerik.com/valerihristov/posts/10-10-25/telerik_scheduleview_for_silverlight_wpf_questions_and_answers.aspx   To add RadScheduleView to a new or existing application you need to first add references to the following assemblies Telerik.Windows.Controls Telerik.Windows.Data Telerik.Windows.Controls.Input Telerik.Windows.Controls.Navigation Telerik.Windows.Controls.ScheduleView   If you like to drag controls from the Visual Studio Toolbox, add RadScheduleView to the Toolbox following the instructions below (in the official release it will be automatically added when you install RadControls): http://www.telerik.com/help/wpf/installation-adding-to-vs-2008-toolbox-wpf.html   I am a fan of the manual...
    October 26, 2010 7 min read
  • Desktop WPF

    Fast real-time data update for your Silverlight and WPF applications

    I’ve made small example to illustrate how to use NotifyCollectionChangedAction.Replace in order to provide very fast real-time data update with RadGridView for Silverlight and WPF.    While Binding in both Silverlight and WPF will react immediately to any property change of INotifyPropertyChanged object and will update RadGridView cell values sometimes it is important to refresh the grid in order to update a sorting, filtering, grouping, etc. after some value change. To achieve your goal in such situation you have two options:   - listen for PropertyChanged of every item in the collection and raise NotifyCollectionChangedAction.Reset for the collection in order to tell the...
    October 04, 2010 1 min read
  • Desktop WPF

    How to use RadTransitionControl for navigation

    The RadTransitionControl can be very useful when you want to switch between controls. In this blog post I will explain two common scenarios: 1) Switching between 2 UserControls, which is applicable for both WPF and Silverlight and 2) Creating attractive navigation between pages very easy, applicable for Silverlight.   Now, point-by-point: 1)   For this approach you will need to create 2 UserControls. In the root page define a RadTransitionControl and give it a x:Name. Then, on a button click change the Content property of the TransitionControl with the chosen UserControl.  Here you can find attached you will find a simple WPF example of the above-mentioned technique. 2) For the second scenario we need to create...
    August 12, 2010 2 min read
  • Desktop WPF

    Evaluated (Calculated) Column for WPF/Silverlight RadGridView with IronPython

    The Dynamic Language Runtime (more info here) is a great way to spice up those boring old CLR applications. Not only has the DLR helped bring the dynamic keyword to C# 4, but it helps Python and Ruby live on top of .NET. Using the DLR and IronPython, it's relatively easy to craft a calculated column, giving you the power to execute IronPython expressions over your data objects. What's more, you can import Python modules such as math, datetime, etc. You can download the source code for this example here. The exact same code can be used for both Silverlight and WPF....
    July 12, 2010 1 min read