• .NET Web

    Telerik RadGrid for ASP.NET AJAX client-side data binding to ADO.NET DataServices

    We just extended RadGrid for ASP.NET AJAX with native client-side data binding to ADO.NET DataServices. Now you can use getDataServiceQuery() method and the grid will construct ADO.NET DataService style query: var northwindService = new Sys.Data.DataService("NorthwindDataService.svc"); var tableView = $find("<%= RadGrid1.ClientID %>").get_masterTableView(); northwindService.query(tableView.getDataServiceQuery("Customers"), updateGrid); All operations like paging, sorting and filtering are automatically persisted using $top, $skip, $orderby and $filter...

  • .NET Web

    Telerik RadGrid for ASP.NET AJAX Q2 2008 client-side edit using templates

    I've made three demos on how to use RadGrid templates to build completely client-side edit and update: - server-side GridTemplateColumn - server-side GridTableView ItemTemplate - client-side GridTableView ItemTemplate (ASP.NET AJAX 4.0...

  • .NET Web

    Maximum performance using Telerik RadGrid client-side data-binding with LINQ to SQL

    As I mentioned in one of my previous posts with RadGrid for ASP.NET AJAX Q2 2008 you can access the grid sort and filter expressions on the client. While filter expressions toString() method will create SQL syntax representing current grid filtering now you have toDynamicLinq() method which will create LINQ expression that can be used directly with Dynamic LINQ library. With few lines of code you will get minimum transfer between server and client (pure JSON): and on the server side LINQ to SQL will apply all requested operations directly on the data-base server: Live Demo |...

  • .NET Web

    Telerik RadGrid Section 508 Compliance

    Ever wonder how to make a pageable & sortable grid Section 508 compliant? Well with RadGrid this is trivial task! The tricky part is to tell the grid to not render or require any JavaScript on the page: 1. Inherit from RadGrid and override three methods:     public class MyGrid : RadGrid     {         public MyGrid()         {             //         }         protected override void RegisterScriptControl()         {             // do not register as ScriptControl         }        ...

  • .NET Web

    Change Skins dynamically for all Telerik RadControls

    I've spent few minutes to create small control called RadPageStylist which will style all Telerik RadControls on desired page with desired Skin. The control is fairly simple - you have Skin property where you can set your skin and ApplySkin() method which can be executed for particular ASP.NET Control. The method is recursive and will locate all child ISkinableControls to set selected Skin. Other possible approach is "Global skin setting for the entire web site/web application project" however in this case the skin registration is static. Live Demo | ...