Telerik blogs

Latest

  • Web ASP.NET AJAX

    RadTreeView for ASP.NET Ajax - Optimizing Load On Demand performance

    In a previous blog post I mentioned that you should use WebService load on demand in order to squeeze the most performance from RadTreeView. In this post I will show a few other tricks which can be used to improve the loading time even further. All techniques are optional and can be used independently. We start with a simple page containing only a single RadTreeView control with one root node. The testing environment is: Visual Studio 2008 SP1 Intel Core 2 Duo E6550 @ 2.33GHz. IIS7 web site Internet Explorer 7 Latest internal build of Telerik.Web.UI.dll (which will go live with the Q3 2008 release) Here...
    September 24, 2008
  • Web

    Silverlight 2 Resources

    In the spirit of my recent Silverlight Foundations post, I thought I'd post some Silverlight 2 resources which you might find useful as you get started with Silverlight 2 development.
    September 22, 2008
  • Web ASP.NET AJAX

    Don't store ASP.NET controls in Session, Application or Cache

    In some cases you may end up with the following exception when working with RadControls for ASP.NET Ajax: "Script controls may not be registered after PreRender." The explanation of this error is simple - some UI control implementing the IScriptControl interface (e.g. any control from the RadControls for ASP.NET Ajax suite) is stored in the Session, Application or Cache and then is added in some live controls collection. Here is an...
    September 19, 2008
  • Web

    How To: Telerik RadGrid client-side caching with client-side binding to web services using LINQ to SQL

    My new example illustrates how to cache the grid data client-side based on the current grid state. To do this we need to build a state key using current page index, page size, sort expressions and filter expressions: function getCacheKey(tableView) {       return String.format("{0}{1}{2}{3}",            tableView.get_currentPageIndex(), tableView.get_pageSize(),                tableView.get_sortExpressions().toString(), tableView.get_filterExpressions().toDynamicLinq());    }    Every time when we get new data we can store the result in our client-side cache: function updateGrid(result) {        var stateKey = getCacheKey(tableView);        if (!cache[stateKey]) {            cache[stateKey] = result;        }          tableView.set_dataSource(result);        tableView.dataBind();    }   and when the next grid command occur we can call explicitly updateGrid() method if we have already saved result for the current grid...
    September 19, 2008
  • Web

    Sitefinity ad

    Hello and thanks to everybody who gave their insightful comments in the first blog post by the Marketing Team.   We have decided that it will be a good idea to blog more often, to engage in a conversation, and generally to shed some light on our work. We are aware that what we do is not directly related to programming but we hope that you may be interested in what else is happening at Telerik, besides lines of code being entered in VisualStudio :-)   This post will continue where we left off last time. We would once more ask for your opinion on an ad we recently...
    September 19, 2008