blogs.telerik.com
  • telerik.com
  • blogs.telerik.com
Search
  • RadGridView for WPF performance compared to Microsoft DataGrid

    Friday, August 29, 2008

    Today I saw this blog post and I couldn't resist to test RadGridView for WPF using the same data :)

    Looks like by default our grid will sort approximately 10 times faster - no need to build your own custom comparers.

    Untitled

    Untitled2

    Enjoy!

    [Download]

    Full story
    1Comments
    posted by: Vladimir Enchev
  • New Feature: Full EntityDataSource support in RadGrid for ASP.NET AJAX

    Wednesday, August 27, 2008

    I'm pleased to announce that the next version of RadGrid for ASP.NET AJAX will support natively EntityDataSource.
    All operations like paging, sorting and filtering will be applied directly on the data-base server:

    Untitled 

    Untitled2

    and of course you will able to insert, update and delete records completely codeless.

    Enjoy!

    [Download]

    Full story
    2Comments
    posted by: Vladimir Enchev
  • How To: RadGridView for WPF paging, sorting and filtering of 1mil. records with LINQ to SQL

    Wednesday, August 13, 2008

    I've made small example how to perform paging, sorting and filtering directly on the data-base sever using LINQ to SQL and RadGridView for WPF.

    Untitled

    The data-base is not included however you can use the same code with any data-base with following modifications:

    - change the connection string in the app.config file

    - change the table name in BindGrid() method:

        IQueryable queryable = new DataClasses1DataContext().[Your Table].AsQueryable();

    - define desired total number of items per page and total page count

    - change the filter expression in the filter button click event handler to desired (currently Contains for Name column)

    Enjoy!

    Download...

    Full story
    0Comments
    posted by: Vladimir Enchev
  • How To: RadGrid hierarchy from objects hierarchy

    Monday, August 11, 2008

    Every once in a while we receive support about how to create hierarchical grid directly from objects hierarchy and I decided to post small example how to achieve this easily:

      protected void RadGrid1_NeedDataSource(object source, GridNeedDataSourceEventArgs e)
      {
        RadGrid1.DataSource = MyList;
      }

      protected void RadGrid1_DetailTableDataBind(object source, GridDetailTableDataBindEventArgs e)
      {
        e.DetailTableView.DataSource = MyList.Find(
             delegate(Master master)
             {
               return master.ID == Convert.ToInt32(e.DetailTableView.ParentItem.GetDataKeyValue("ID"));
             }
           ).Details;
      }

      public List<Master> MyList
      {
        get
        {
            List<Master> items = new List<Master>();
            for (int i = 0; i < 5; i++) ...

    Full story
    0Comments
    posted by: Vladimir Enchev
  • Telerik RadGrid client-side data-binding to RSS and ATOM feeds

    Friday, August 01, 2008

    I've made small example how to bind RadGrid for ASP.NET AJAX on the client to an RSS and ATOM feeds:

    Untitled

    Enjoy!

    Download

    Full story
    0Comments
    posted by: Vladimir Enchev
  • Telerik RadGrid for ASP.NET AJAX client-side data binding to ADO.NET DataServices

    Monday, July 28, 2008

    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 parameters!

    Untitled

    Untitled2

    Download

    Full story
    3Comments
    posted by: Vladimir Enchev
  • Telerik RadGrid for ASP.NET AJAX Q2 2008 client-side edit using templates

    Thursday, July 24, 2008

    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 style)

    Enjoy!

    Download

    Full story
    1Comments
    posted by: Vladimir Enchev
  • Maximum performance using Telerik RadGrid client-side data-binding with LINQ to SQL

    Thursday, July 17, 2008

    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):

    Post request to the server

    Response from the server

    and on the server side LINQ to SQL will apply all requested operations directly on the data-base server:

    SQL Server Profiler

    Live Demo | Download

    ...
    Full story
    2Comments
    posted by: Vladimir Enchev
  • Telerik RadGrid Section 508 Compliance

    Tuesday, July 15, 2008

    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
            }

            protected override void RegisterScriptDescriptors()
            {
                // do not register script descriptors
            }

            protected override void RegisterCssReferences() ...

    Full story
    3Comments
    posted by: Vladimir Enchev
  • Change Skins dynamically for all Telerik RadControls

    Friday, July 11, 2008

    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.

    Untitled

    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 | Download

    Full story
    5Comments
    posted by: Vladimir Enchev

Bloggers

  • Alexander Gyoshev (2)
  • Atanas Korchev (24)
  • Dimo Dimov (5)
  • Evtim (2)
  • Hristo Borisov (1)
  • Hristo Deshev (39)
  • Hristo Hristov (1)
  • Hristo Kosev (23)
  • Ivo Nedkov (9)
  • Kevin Babcock (24)
  • Kiril Stanoev (4)
  • Konstantin Petkov (12)
  • Manol Donev (9)
  • Marketing Team (1)
  • Mihail Valkov (3)
  • New Support Resources (27)
  • Nikolay Atanasov (7)
  • Nikolay Diyanov (1)
  • Nikolay Dobrev (9)
  • Rosi F (2)
  • Rossen Hristov (1)
  • Stefan Dobrev (6)
  • Stoyan Stratev (13)
  • Tervel Peykov (6)
  • Todd Anglin (38)
  • Tsvetomir Tsonev (5)
  • Valentin Stoychev (8)
  • Valeri Hristov (3)
  • Vassil Terziev (63)
  • Vesselin Georgiev (3)
  • Vladimir Enchev (37)
  • Vladimir Milev (13)
  • Zhivko Dimitrov (13)
  • Boyko Iaramov (3)
  • Boyko Markov (4)
  • Deyan Varchev (1)
  • Dimitar Kapitanov (7)
  • Elena Tosheva (2)
  • Emil Varbanov (2)
  • Erjan Gavalji (3)
  • Irina Palichorova (2)
  • Ivaylo Bratoev (2)
  • Jordan Dimitrov (1)
  • Kazi Rashid (0)
  • Kiril Matev (5)
  • Martin Ivanov (2)
  • Martin Vassilev (1)
  • Miroslav Paskov (1)
  • Nikolai Angelov (1)
  • Nikolay Nedev (1)
  • Petja Vassileva (2)
  • Rosen Konstantinov (3)
  • Silverlight Team (9)
  • Simeon Stoychev (3)
  • Steve Tsokev (0)
  • Support Dept (1)
  • Telerik Corporation (10)
  • Trayko Stoilov (6)
  • Vassil Petev (6)
  • Yordan Pavlov (4)

+ Show all bloggers

- Show recent bloggers

Subscriptions

RSS Feed

Archive

  • August 2008 (5)
  • July 2008 (8)
  • June 2008 (1)
  • May 2008 (6)
  • March 2008 (3)
  • January 2008 (2)
  • September 2007 (2)
  • August 2007 (1)
  • July 2007 (2)
  • June 2007 (2)
  • May 2007 (3)
  • November 2006 (2)

Telerik Inc., 275 Grove Street, 4th Floor, Newton MA 02466.
Copyright 2002-2008 ©Telerik. All rights reserved.