Telerik blogs

Latest

  • Web ASP.NET AJAX

    Z-index demystified

    In this blog post I will try to explain how CSS z-index works and a how to avoid a few common mistakes. First of all the z-index is used to control the z-order of positioned HTML elements. Simply put it controls the stacking order of HTML elements. To set it set the "z-index" CSS attribute of your element to some integer value. Z-index works only for positioned elements. Positioned elements are elements whose "position" CSS attribute is set to "relative", "absolute" or "fixed". The default "position" is "static" which means that by default setting z-index has no effect. Z-index is NOT measured in...
  • Productivity

    Object Scope lifecycle management in web scenarios

    The stateless nature of the Http protocol brings quite a deal of concerns about the handling of the IObjectScope in a web application. Few questions usually arise when dealing with entity containers (like the DataContext in Linq to SQL or the IObjectScope in Telerik OpenAccess ORM): where to initialize the scope, where to dispose it, how to integrate with the Page’s lifecycle, etc.. In this post we share our views on the best-practices approaches that secure safe and consistent use of the IObjectScope in web scenarios. The desired result of the used patterns is to have one object scope, initialized on...
    July 02, 2009
  • Productivity

    Partial Trust and Telerik OpenAccess ORM

    First let us apologize on the behalf of the whole team that we didn’t share this great feature of our product earlier. We will try to shed more light with this post. So what is with the partial trust? Why it is such a dramatic problem for a lot of applications? Let us define what the impediments are to every real application out there that runs in partial trust: Overview of Partial Trust Most common security mechanisms give rights to users based on their logon credentials (usually a password) and restrict resources...
    July 01, 2009
  • People

    Win a free PDC 2009 scholarship and more by playing with your favorite .NET controls!

    Calling all Telerik enthusiasts who would like to win a FREE pass to PDC 2009 in LA and dinner with our Chief Evangelist, Todd Anglin! Good news! Telerik is sponsoring the INETA & CVC Component Code Challenge: Building .NET Applications with Reusable Components. Check out the details below… The Challenge: Build an application utilizing any of Telerik’s components or tools (ASP.NET AJAX, Silverlight, Winforms, WPF, Reporting, or OpenAccess ORM). Be sure to choose at least one other approved vendor to use in your application – you must use at least two different vendors to be eligible. Then, submit a 3-5 minutes video using Camtasia...
  • Productivity

    Telerik OpenAccess ORM and Ado.Net Data Services Example Refreshed part III

    After we prepared our data service it is time to put some client UI into it. We will use 2 grids and a context menu. To start with, add a SilverLight application in your solution:
    June 30, 2009
  • Release

    RadControls Q2 2009 source requires Visual Studio 2008

    The upcoming Q2 2009 release of RadControls for ASP.NET Ajax is now built with Visual Studio 2008. As most of you know Visual Studio 2008 supports multi-targeting and we decided to exploit that feature in order to improve our productivity. Here are the main reasons of preferring Visual Studio 2008 over Visual Studio 2005: The IDE provides better development experience. C# 3.0 provides lots of features which do not require .NET 3.5. To name a few: object initializers using the new "var" keyword anonymous types auto properties Improved compilation time. Seamless change of configurations - we can easily change the .NET framework version from the project settings. This however does...
    June 30, 2009
  • People

    Explore the latest and greatest from Telerik Labs

    We are excited to announce the launch of Telerik Labs, your official gateway to the newest products and projects coming out of our product teams. There you will find valuable info on the latest innovations we are up to, read about new opportunities from emerging technologies, have access to interesting demos and samples as well as future additions to the company’s product portfolio. You will be able to download, explore and give feedback, helping us improve our products. The main idea of Telerik Labs is to add an additional layer of transparency and give you an inside look at our...
  • Productivity

    Telerik OpenAccess ORM and Ado.Net Data Services Example Refreshed part II

    In the first part of this post we looked into providing data to the client using ADO.NET Data Services and Telerik OpenAccess. However it is very rare just to present data, as usually some processing is done by the application on the client side, data gets modified and it is pushed back to the server for persistence. With ADO.NET Data Services this is done by implementing the IUpdateable interface by the data context class used on the server. NOTE: We do not implement IExpandProvider at the moment. They say that a picture is worth a thousand words, so same is true for the...
    June 29, 2009
  • Productivity Reporting

    Teaser: Telerik Reporting CrossTab Wizard

    Telerik Reporting Q2 2009 release (expected within a week) would come with new table/crosstab wizards. As the first one is pretty trivial i.e. you set datasource for the table and select which columns to show, we would skip detail introduction, but showing off with the crosstab wizard is something we would gladly do :) As you can see our designers have prepared some really nice images to spice it up. Now let's go to the Arrange Fields step, where we select the fields from our datasource and arrange them into Row/Column groups depending on what we're aiming for. If we skip adding fields to the...
    June 27, 2009
  • Productivity

    Generic Data Access

    When using an ORM one of the first questions users have is: But how is my data accessed? OpenAccess uses a technique called Enhancement to augment the compiler generated code. It works like as if the compiler had weaved in some additional code - much like the AOP people are doing it. The added code allows to provide the application with the needed management, lazy loading and change tracking capabilities. Because the code is compiled, there is no need to use reflection and therefore guarantees you a speedy access to your data. Your database data just comes into the objects as...