• .NET

    How to Synchronize RadTreeView`s Drag and Drop Operation with the Database

    Part one: Moving a child element from one parent to another 1. Problem     The purpose of this post is to show one possible way to solve the following scenario. Having a Silverlight RadTreeView that loads its items from a database via WCF RIA services, we want to update the database immediately after a drag and drop operation has been performed within the RadTreeView. The drag and drop operation in this post will be moving a child element from one parent to another. Reordering items will be shown in a future post. 2.Design     We will be using the MVVM Design Pattern. Let’s take a close look...
    February 21, 2011
  • .NET

    RadRibbonBar – new Office 2010 Backstage View

    With the Q1 2011 BETA release of RadControls for Silverlight and WPF we are announcing new ribbon control – the RadRibbonBackstage. The new RadRibbonBar Backstage functionality comes to replace the old Office 2007 Application menu with the new Office 2010 style. It is actually a collection of controls and most common actions that can be taken on the working area. Use Cases The new Backstage view might be used in cases where you want to achieve more native Office 2010 look and feel for your application. The user can have three types of items in the Backstage Navigation. The three types can be...
    February 14, 2011
  • .NET

    Using Silverlight's easing functions when expanding/collapsing items in TreeView and PanelBar

    With the upcoming Q1 2011 Beta release, we’ve decided to sugarcoat RadTreeView and RadPanelBar even more. With the release of Silverlight 3, Microsoft introduced easing functions which are basically “custom mathematical formulas to your animations. For example, you may want an object to realistically bounce or behave as though it were on a spring.” Incorporating easing functions within RadTreeView or RadPanelBar can be done using Telerik’s AnimationManager:
    February 14, 2011
  • .NET

    TileView new feature: Maximized item docking

      With the Q1 2011 the RadTileView will support a couple of new features. One of them is the Windows 7 like docking for maximizing an item. To use this feature will be easy and intuitive. The first thing you'll have to do is turn it on using the IsDockingEnabled property, then drag an item to the desired maximize position(note that depending on the position a respective MaximizeArea will appear) and drop it there. Example Here I'll show you how to create a simple RadTileView with docking. First let's add a RadTileView, some DataTemplates and styles for the RadTileView and the RadTileViewItems: <Grid.Resources>     <DataTemplate x:Key="itemTemplate">         <StackPanel Orientation="Horizontal">             <TextBlock Text="Item" />             <TextBlock Text="{Binding...
    February 10, 2011
  • .NET

    Telerik RadMap for Silverlight – Custom provider

    Since Q1 2011 several changes were made to the RadMap improving it's functuonality - multiple providers added, support for culture settings to the map sources, own set of commands shown in every provider's CommandBar and etc. The RadMap provider architecture implemented in Q1 2011 release became not backwards-compatible with previous versions of the control. For RadMap's Custom Provider version 2011 Q1 and later, please refer to this blog post.   Currently the RadMap control supports a few providers: · Bing Maps · OpenStreet Maps (also described in Vesselin’s blogpost) · Empty Provider This blogpost will demonstrate how to create a custom map provider. For the purposes of this example will create a provider for NAVTEQ. The...
    February 04, 2011