Telerik blogs

Latest

  • Desktop WinForms

    Flexible data conversion with RadGridView for WinForms vNEXT

    One of the new features that will come with the next version of RadGridView is the new data conversion layer. In our daily work we have often got into troubles in visualizing and formatting concrete types as other types. Sometimes the data source is not compatible with the bind target. Hence, you need to create a facade that converts the data to desired type. Let’s say that you bind the grid to a source that is incompatible with the columns that you want to show, for example a GridViewCheckBoxColumn for char field instead of GridViewTextBoxColumn. How can you accomplish that? The new version of RadGridView will...
  • Desktop WPF

    Blazing fast performance with RadGridView for WPF 4.0 and Entity Framework 4.0

    Just before our upcoming release of Q1 2010 SP1 (early next week), I’ve decided to check how RadGridView for WPF will handle complex Entity Framework 4.0 query with almost 2 million records: public class MyDataContext{    IQueryable _Data;    public IQueryable Data    {        get        {            if (_Data == null)            {                var northwindEntities = new NorthwindEntities();                var queryable = from o in northwindEntities.Orders                               from od...
  • Desktop WinForms

    Introduction to RadScheduler for WinForms Webinar

    Earlier today, I presented a webinar about RadScheduler for WinForms. I hope everyone who attended enjoyed learning a few things about RadScheduler. If you weren't able to attend, don't worry I've posted a link to a recording of the webinar on Telerik TV below. I've also made the example projects I used in the webinar available for download. Introduction to RadScheduler for WinForms RadScheduler for WinForms is a highly customizable appointment presentation component that offers rich Outlook-style functionality. Through the use of this component, you can easily add rich scheduling UI to any Windows Forms application. In this webinar, ...
    April 15, 2010
  • Desktop WPF

    Implementing logical paging with RadDataPager for WPF and Silverlight

    Following the great series about RadDataPager started by Rossen and Pavel today I’m going to show you how to implement logical paging. We are going to implement alphabetical paging similar to this ASP.NET AJAX Grid Demo. As you may already know the key to the heart of the RadDataPager is the IPagedCollectionView interface. You can create your own implementations of this interface and implement any custom logic for paging you want. This is exactly what we are going to do in this article. Introducing PagedCollectionViewBase and LogicallyPagedCollectionView<T> If you have looked at IPagedCollectionView interface you may have found out that it is not a trivial interface to...
    April 11, 2010
  • Desktop WinForms

    Adding Custom Fields to RadScheduler for WinForms Appointments

    When using RadScheduler for WinForms, it will almost always need to be customized in some way. This could come in the form of custom dialogs, context menus, or even custom appointments. In this blog entry, I am going to explain the steps required to add a custom field to RadScheduler. Click here to download the source code and follow along... Adding Custom Fields to Appointments In this example, a custom field for Email will be added to the Appointment class being used by RadScheduler. The process of accomplishing this involves five simple steps. Step 1: Add a Custom Field to the Data Source In order to display ...
    April 02, 2010