Telerik blogs

Latest

  • Productivity

    Telerik OpenAccess ORM and the Second Level Cache

    As we already mentioned last week, Telerik OpenAccess ORM manages two cache levels – one specific for each ObjectScope instance and another shared by all scopes. The shared cache is generally called the "2nd level cache" or the "L2 cache". Its main job is to hold copies of the database content in memory. The L2 cache is populated during read access and gives fast retrieval of commonly used objects. This could be extremely helpful in multithreaded applications, where every single thread has its own ObjectScope. In order to avoid too many calls from each scope to the relational server, the L2...
    May 27, 2021 3 min read
  • Productivity Reporting

    Medium Trust Support for Telerik Reporting

    A lot of people requested this, so we've put all our efforts into it and even managed to finish it in time for the Q2 service pack that shipped just this Friday - download it if you haven't yet. Please hold on your dismay - deploying an ASP.NET application containing Telerik Reporting on a web host that requires Medium Trust permission level is now a reality. For those of you, who do not know what that means - you probably do not need it, but if you would like to know, check the following "ASP.NET Trust Levels and Policy Files" and "Use Medium Trust in ASP.NET 2.0" documents in MSDN. There...
    May 27, 2021 2 min read
  • 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...
    May 27, 2021 3 min read
  • 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...
    May 27, 2021 4 min read
  • 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...
    May 27, 2021 3 min read
  • 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...
    May 27, 2021 7 min read
  • 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...
    May 27, 2021 2 min read
  • Release

    Acclaim your favorite Telerik products

    If you are a big fan of Telerik’s products, now is your chance to nominate them in the Windows IT Pro and SQL Server Magazine 2009 Community Choice Awards. In the first stage of the awards you get the chance to say which IT products should make it to the final public voting and why. The Telerik products are eligible in the following three categories: Best Development Tools Product (Telerik Premium Collection for .NET) Best Business Intelligence and Reporting Product (Telerik Reporting) Best SharePoint Product (RadControls for ASP.NET AJAX and SharePoint) The nomination process will take you no more than...
    May 27, 2021 1 min read
  • Productivity

    Retrieving object from the database using only its key

    When you try to persist an object Telerik OpenAccess ORM will require an “identity” so that the object is uniquely identified for storage and retrieval. Usually this id is mapped directly to a primary key column or columns (composite key) in the database and identifies also the in-memory representation of the object. Using this identifier, you can directly retrieve the object from the database. Supposing that we have table with an int primary key (for example the Category table from the Northwind database) and we want to retrieve the Category with id that is equal to 6 directly. We would need...
    May 27, 2021 3 min read
  • People

    Telerik, Oslo and “RAD Make My Application" button

    I always joke to our team that our tools need to be so easy that Zarko (Co-CEO of Telerik) and I can build an application by pressing the “RAD Make My Application" button. A while ago some of you also voiced the need to have “RadDoEverythingForMeForTheRestOfMyLife”. While we are hard at work to provide more and more value with every release for all of our current product lines (and the new ones in development), we are always on the lookout for tools and technologies that would help us deliver the “RAD Make My Application Button”. The good news is that we, and...
    February 19, 2025 3 min read