Telerik blogs
  • Desktop WPF

    Displaying Hierarchy in RadGridView for WPF

    Building on my previous post where I talked about how to bind data to the RadGridView, today I want to show how you can display hierarchical data in the grid.  I will follow the same concept of building an application for a car repair shop to manage vehicles in for repair.  I will leverage two classes to display the data.  The original Car class which was used previously and a new CustomerComplaint class.  The Complaint property of the Car object was initially a string, but we need to allow for several issues to be reported so we will use the CustomerComplaint class to...
    January 22, 2009 2 min read
  • Desktop WPF

    Displaying data quickly in the RadGridView for WPF

    The RadGridView for WPF uses the ItemsSource property for binding data.  ItemsSource is actually of type System.Object which not only allows you to bind to any data source that implements IEnumerable, but also the ADO.NET DataTable and DataSet.  In this post, I am going to demonstrate how you can quickly bind data to the RadGridView for WPF.  The task will be to build a car repair shop application which will display all the cars currently in the shop.  To get started we need to have some data, so we will use a simple class to store Car information.       public class Car       {           public string Make { get; set; }...
    January 20, 2009 2 min read
  • Desktop WinForms

    Export RadGridView Data to Microsoft Excel

    I am sure that most of your data-driven applications require support for Microsoft Excel. Probably the best and most famous spreadsheet application known for data manipulation, MS Excel provides useful features such as calculations, graphing tools and pivot tables – things that are not so easy to do in a regular data-driven application. RadGridView for WinForms offers data export to Excel out of the box, a handy feature that saves you the hassle to do this yourself. It supports two methods for exporting data:     • Exporting through Primary Interop Assemblies, optimized for black & white printing. Here we provide a...
    January 07, 2009 2 min read
  • Desktop WinForms WPF

    Host Telerik’s WPF Gauges and Charts in RadGridView for WinForms

    Did you have a chance to try the beta versions of Telerik’s WPF gauges and charts ? Yes? And you like them, but already have a big and complex WinForms project and you have no plans to upgrade it to the new amazing WPF technology soon? Do not worry; you can get the best of both worlds and use the WPF goodies in your WinForms application thanks to the ElementHost control that resides in the namespace System.Windows.Forms.Integration.  You could find more info on this topic in the following MSDN article: http://msdn.microsoft.com/en-us/library/ms745781.aspx Following this concept, I have prepared a WinForms application with Telerik’s WPF...
    October 24, 2008 1 min read
  • Web ASP.NET AJAX

    RadTips, Episode 6: Using the LinqDataSource in your RadGrid for ASP.NET AJAX

    Welcome back to another episode of RadTips, a series of episodes offering tips and tricks for using Telerik's RadControls. If you've missed previous episodes, be sure to check them out. Each is only a few minutes long and covers a specific RadControl: 1 - Client-Side Data Binding in the RadGrid 2 - Client-Side Paging in the RadGrid 3 - Client-Side Sorting in the RadGrid 4 - Client-Side Filtering in the RadGrid 5 - Getting Started with the RadScheduler This Week In this episode, I'm going to show you how to use the LinqDataSource control to combine the power of .NET 3.5's Language Integrated Query (LINQ) with the...
    September 19, 2008 1 min read