Telerik blogs
  • Productivity

    How Does the First Level Cache of Telerik OpenAccess ORM Work

    Telerik OpenAccess ORM has two levels of caching. The upper one is a local cache specific for each IObjectScope instance and it is the focus of this post. The lower cache, the second level cache is common for all IObjectScope objects and is used to hold unchanged database content in memory. The values for various fields of the user objects (like a Person instance) are duplicated in the L2 cache. It is populated during read access and gives fast retrieval of commonly used objects. Additionally, the cache can contain complete query results. Note that the L2 cache is not enabled by...
    August 06, 2009
  • Desktop WinForms

    Multiple child views with RadGridView for WinForms

    One of the most wanted features related to hierarchy in RadGridView is the support for hierarchy containing one-to-many relations. Now, this is possible by using tabbed child views. We added the feature in our latest release – Q2 2009.     However, RadGridView is not restricted to show only tables. Child views can be used to display any relevant information (e.g. rich text, picture or even a chart). If fact you can use any RadElement or host a control by using the RadHostItem. In the example below I will demonstrate how to do it.   You should follow a few simple steps:   1. First bind the...
  • Desktop WinForms

    Building Advanced Layouts With RadSplitContainer

    How it started One of the major disadvantages of the old docking framework was the unintuitive layout mechanism. Operations like resize, re-dock transitions, dock position change were re-setting entire layout scene and all user-defined sizes were lost. Having recognized this drawback and knowing that a prerequisite for a good docking framework is a fine-grained layout system, we put solid efforts in designing and implementing a completely new flexible and powerful, yet simple to understand and easy to use, layout mechanism. Brief Model Overview The design...
    August 05, 2009
  • Desktop WPF

    Animating the RadWindow control for Silverlight and WPF.

    We all know that animations are making our applications look more slick. As Silverlight and WPF are platforms that have great support for animations, we want our Silverlight and WPF applications to be more animated and look better.     Today I will show you how to add animations support to the Telerik RadWindow control using one of the most powerful approaches in WPF and Silverlight for extending the functionality of existing components – the attached behavior. We will create two attached properties that take care to run the animations when needed. The good thing is that you can use this approach for...
  • Desktop WinForms

    Some Words on the new RadForm and RadRibbonForm

    Among all other new stuff that we introduced in the Q2 2009 release were also the revised RadForm and RadRibbonForm controls. Base on an entirely new approach, these two controls have been rewritten from scratch and expanded to support many features that the old versions did not provide. Moreover, we have been striving to address all performance and painting issues which were a major problem in the old versions and now we are proud to present what we have been doing the last months.   It turned out that customizing a standard Windows Form is not an easy task and once a...
    August 04, 2009
  • Productivity

    How Does the First Level Cache of Telerik OpenAccess ORM Work

    Telerik OpenAccess ORM has two levels of caching. The upper one is a local cache specific for each IObjectScope instance and it is the focus of this post. The lower cache, the second level cache is common for all IObjectScope objects and is used to hold unchanged database content in memory. The values for various fields of the user objects (like a Person instance) are duplicated in the L2 cache. It is populated during read access and gives fast retrieval of commonly used objects. Additionally, the cache can contain complete query results. Note that the L2 cache is not enabled by...
    August 06, 2009
  • Desktop WinForms

    Multiple child views with RadGridView for WinForms

    One of the most wanted features related to hierarchy in RadGridView is the support for hierarchy containing one-to-many relations. Now, this is possible by using tabbed child views. We added the feature in our latest release – Q2 2009.     However, RadGridView is not restricted to show only tables. Child views can be used to display any relevant information (e.g. rich text, picture or even a chart). If fact you can use any RadElement or host a control by using the RadHostItem. In the example below I will demonstrate how to do it.   You should follow a few simple steps:   1. First bind the...
  • Desktop WinForms

    Building Advanced Layouts With RadSplitContainer

    How it started One of the major disadvantages of the old docking framework was the unintuitive layout mechanism. Operations like resize, re-dock transitions, dock position change were re-setting entire layout scene and all user-defined sizes were lost. Having recognized this drawback and knowing that a prerequisite for a good docking framework is a fine-grained layout system, we put solid efforts in designing and implementing a completely new flexible and powerful, yet simple to understand and easy to use, layout mechanism. Brief Model Overview The design...
    August 05, 2009
  • Desktop WPF

    Animating the RadWindow control for Silverlight and WPF.

    We all know that animations are making our applications look more slick. As Silverlight and WPF are platforms that have great support for animations, we want our Silverlight and WPF applications to be more animated and look better.     Today I will show you how to add animations support to the Telerik RadWindow control using one of the most powerful approaches in WPF and Silverlight for extending the functionality of existing components – the attached behavior. We will create two attached properties that take care to run the animations when needed. The good thing is that you can use this approach for...
  • Desktop WinForms

    Some Words on the new RadForm and RadRibbonForm

    Among all other new stuff that we introduced in the Q2 2009 release were also the revised RadForm and RadRibbonForm controls. Base on an entirely new approach, these two controls have been rewritten from scratch and expanded to support many features that the old versions did not provide. Moreover, we have been striving to address all performance and painting issues which were a major problem in the old versions and now we are proud to present what we have been doing the last months.   It turned out that customizing a standard Windows Form is not an easy task and once a...
    August 04, 2009