Telerik blogs
  • Web

    Manage all Resources and Appointments data for RadScheduler for Silverlight using RIA Services.

    This blog post could be helpful for those who seek a way to store and retrieve all appointments information like Resources, TimeMarkers, Categories. It also provides a handy way to handle recurrence exceptions without any additional code. 1. Database design (This step can be avoided if a DataModel is initially created and then a database is generated from it). The key points that need to be taken into consideration when planning the database are: Where to save appointments Where to save recurrent appointments’ exceptions Where to save resources and how to relate them with appointments Here is the database schema used in...
    June 04, 2010 8 min read
  • Desktop WPF

    How - to: Bind to IsExpandable Property of GridViewRow in RadGridView for WPF with Attached Behaviors.

    Attached behaviors give you the opportunity to go far beyond the build-in functionality and to create one of your own. You are free to associate an action with an event or a property value. All you need is the assembly that comes with Expression Blend - System.Windows.Interactivity.dll. In our case here the goal will be to create a behavior that enables us to bind to the property of the RadGridView’s rows – IsExpandable. Normally you do not need to do nothing more but to set it to the value you want. However, if it is necessary to use it after...
    June 03, 2010 2 min read
  • Desktop WPF

    Breadcrumb hierarchy navigation for RadGridView

    For my first blog post I’m going to present a little pet project inspired by requests from some of our customers. And so, without further ado: The Breadcrumb is a simple control that analyzes the type of the collection found in the RadGridView’s ItemsSource property and automatically resolves data hierarchies. Usage is pretty straight-forward. Place the control anywhere you like and then connect it to the RadGridView, all in XAML. Example: <bread:Breadcrumb Grid.Row="0" Margin="5" SourceGridView="{Binding ElementName=radGrid}"/> The logic behind the type analysis algorithm is simple: represent every collection as a generic IEnumerable<> and get the type of the generic argument. So if you have an array of...
    May 31, 2010 2 min read
  • Web

    Strongly-typed property changed notification in Task-It

    Task-It Series This post is part of a series of blog posts and videos about the Task-It (task management) application that I have been building with Silverlight 4 and Telerik's RadControls for Silverlight 4. For a full index of these resources, please go here. One of the posts listed in the index provides a full source download for the application, and I will be referring to that source code in this post. More about MVVM I recently received a comment on one of my blog posts about how the reader liked the strongly-typed property changed notification technique that I have in my Task-It, and it occurred to me that...
    May 21, 2010 5 min read
  • Web

    Enable RadGridView&rsquo;s rows reorder functionality using Behaviors

    Using RadControls can boost the development process, using bunch of built-in features. However, sometimes we encountered scenarios where we need something very specific. In addition, we do want to make our custom logic encapsulated and easy reusable.  So,when this is the case,using behaviors is our best choice. In this blog I will show small example how to use the behavior power to enable row reorder functionality.     In order to enable drag and drop functionality, it simply uses our RadDragAndDropManager, giving us simple solution for the drag/drop functionality. So in order to use it and customize it we can even go the...
    May 20, 2010 1 min read