Telerik blogs

Latest

  • Web ASP.NET AJAX

    RadTips, Episode 7: Customizing RadScheduler Appointments with Resources

    Welcome back to another episode of RadTips, a series of episodes offering tips and tricks for using Telerik's RadControls. If you've missed previous episodes, be sure to check them out. Each is only a few minutes long and covers a specific RadControl feature: 1 - Client-Side Data Binding in the RadGrid 2 - Client-Side Paging in the RadGrid 3 - Client-Side Sorting in the RadGrid 4 - Client-Side Filtering in the RadGrid 5 - Getting Started with the RadScheduler 6 - Using the LinqDataSource in your RadGrid  This Week In this episode I show you how to add resources to your RadScheduler which you can then assign to...
    September 25, 2008
  • 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