Telerik blogs

Latest

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

    Ignite your DataViz with Telerik Sparklines for Silverlight/WPF

    More and more customers are building dashboards and other rich line of business applications for Silverlight and WPF are discovering the potential of these platforms for data visualization. Not only are UI frameworks constantly evolving but there are new advancements in the field of dataViz itself which make the whole ecosystem even more interesting. Keeping up with with the industry trends Telerik is expanding it’s product portfolio with new controls to enable our customers to build fast, robust and rich dashboards in minutes.   One such addition which I will talk about today is our new sparklines controls. At first look the...
    November 11, 2010
  • Desktop WPF

    Keep your project and Toolbox in sync

    I guess the larger part of you have to maintain various projects using different versions of a Telerik suite, let’s say RadControls for ASP.NET AJAX. Having in mind the above mentioned scenario, working with two projects referring different versions of the Telerik.Web.UI assembly there are the following options :   Have parallel installs of both the RadControls versions on your machine. This one works fine until one day, while in a hurry, you just expand a RadControls group in your Toolbox, drag a control over your page, attempt to build the project and find it broken. The reason for...
    November 11, 2010
  • Desktop WPF

    RadOutlookBar – minimization capabilities

    In this blog post we will go through a new feature of the RadOutlookBar – the minimization capabilities. With the upcoming release of the RadControls for Silverlight and WPF the RadOutlookBar will come with a couple of new properties: IsMinimizable – boolean property that allows you to choose whether the RadOutlookBar can be minimized or not IsMinimized - boolean property that allows you to choose whether the RadOutlookBar should be minimized or not MinimizedWidth – double property that represents the width that will be set to the RadOutlookBar, when it is minimized MinimizedWidthThreshold – double property that represents at what width...
    November 09, 2010