Telerik blogs
  • Desktop WPF

    How to create Custom Appointments and Custom Appointment Dialog in Telerik ScheduleView

    A common scenario when using the ScheduleView control is to have custom appointments with additional properties that are not by default included in the standard Appointment class. In these cases simply extending the Appointment class is not enough, because we have some more requirements – we want our custom properties to support cancelation of editing (like the standard one does), we want to allow the user to edit the custom properties using the Appointment edit dialog and eventually to render values of the custom properties in the AppointmentItem or/and its ToolTip. In this article we will go through the following steps: Create a custom appointment...
    November 25, 2010 5 min read
  • Desktop WPF

    How to Implement AutoScroll While Dragging in RadTreeView

    With this short post I’ll explain how to achieve a functionality similar to the one shown bellow. Unable to display content. Adobe Flash is required.   The key to achieving this scenario is to use Behaviors. Start off by adding a reference to the System.Windows.Interactivity.dll which is located in: [WPF] C:\Program Files (x86)\Microsoft SDKs\Expression\Blend 3\Interactivity\Libraries\WPF\ [Silverlight] C:\Program Files (x86)\Microsoft SDKs\Expression\Blend\Silverlight\v4.0\Libraries\ (note: the location of the binary might be different on your machine) Then create a class called AutoScrollBehavior.cs using System; using System.Windows; using System.Windows.Controls; using System.Windows.Interactivity; using Telerik.Windows.Controls; using Telerik.Windows.Controls.DragDrop; #if SILVERLIGHT using EventManager = Telerik.Windows.EventManager; #endif namespace TreeView.AutoScroll { public class AutoScrollBehavior : Behavior<RadTreeView> { protected override void OnAttached() { ...
    November 25, 2010 3 min read
  • Release

    What’s New in RadMap for Silverlight / WPF in Q3 2010

    It has been a while since my last blog post on the topic but now that the Q3 2010 release is up and running, it is time to slow down a bit and restart my writing practice as well. The major highlight for the Data Visualization Team at Telerik for the past months was improving (enabling) the development of real-world business dashboard scenarios with the controls part of the RadControls suite. My colleague Vladimir already blogged about one of our newest additions (the RadSparkline set of controls) and we will be introducing RadBulletGraph in greater detail shortly as well but today I will focus your...
    November 25, 2010 2 min read
  • Web

    Weather Station &ndash; An Awesome New Silverlight Demo by Telerik

    We all check the weather before we leave our homes, when planning our business trips, when we take our loved ones on vacation. The weather is something we talk about and we all have our own way of reacting to it as it more often than not it affects our mood. So how do we deal with it? We try to stay informed and the coolest way to do that is with the Telerik’s Weather Station application.     The Weather Station was designed to mimic a real world weather application. By navigating through the map-based user interface, you can both select some...
    November 23, 2010 2 min read
  • Web

    RadTreeView's TriState Mode in Deep

    Many of you have probably used Telerik's TreeView or going to do so in the future. One of its many features is the TriStateMode. In this blog post I'm going to explain how TriStateMode mode is designed to work and propagate the values up and down the tree. When in TriStateMode (IsTriStateMode=”True”) checking/unchecking an item makes the TreeView propagate the value. The value propagation actually checks/unchecks all items’ children and updates the chain of parents with appropriate value (checked, unchecked or undetermined). CheckState vs. IsChecked The TreeView exposes two properties used to manipulate items' check state - CheckState (of type ToggleState) and IsChecked...
    November 20, 2010 6 min read