Telerik blogs

Latest

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

    Building BI Dashboards with Telerik RadControls for Silverlight and WPF Webinar Follow-up

    Despite the initial audio and connectivity issues, the Building BI Dashboards with RadControls for Silverlight and WPF Webinar proceeded well and we got to dive into some of the issues people face in these scenarios as well as how RadControls for Silverlight and RadControls for WPF can help answer those challenges.  This is very close to the presentation that I gave this past weekend at the New England BI Code Camp, except the webinar is a little more focused on Telerik controls.  :) In this presentation, we look at a fictional requirements list for a customer would look like and why Silverlight or WPF can...
  • Desktop WPF

    Displaying live streaming data with RadGridView for Silverlight and WPF

    Animated cells on value changes   When dealing with streaming data which is updated over time the end user should be able to quickly track changes at a glance. A typical application that would benefit from this would be a financial dashboard, live data monitoring and tracking systems etc. For the purpose of illustration I have prepared a small simulation of streaming financial data (stock prices) .     In my previous blogpost I have already demonstrated how we can alter/extend the behavior of cells in RadGridView by placing a user control inside. This blog post demonstrates a more real-life and business oriented scenario. All...
    May 20, 2010
  • Desktop WPF

    How - to: Automatically re-order, re-sort and re-group RadGridView (Silverlight and WPF) on change of the underlying DataSource.

    RadGridView for Silverlight and WPF supports sorting, grouping, filtering and editing. However, if a column is sorted for example and edited afterwards, we expect the newly-edited item to find its way in the sorted GridView. But it does not, unless “coded” to do that. So, what we want to achieve is to make the Grid aware of the changes thus enabling it to organize its elements correctly, corresponding to the requirements of the user.  Therefore, the expected behavior of the application will be the following: In order to achieve the desired result, we need to take the following steps: 1. Create Business Object There...