Is link is faster ?

6 posts, 0 answers
  1. Filleau
    Filleau avatar
    114 posts
    Member since:
    Jun 2006

    Posted 31 Jul 2008 Link to this post

    Hi,

    Actually I have a Radgrid with Filter command.

    Grille.MasterTableView.FilterExpression = "([NomComplet] LIKE '" + RadTabABC.SelectedTab.Text + "%')"
    Grille.Rebind()

    Because it take many time to update grid (I have 300 records in a memory table)
    I Want to know if It will be faster if I use Linq expression in order to filter

    Thanks

  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 31 Jul 2008 Link to this post

    Hello Filleau,

    Generally if you use LINQ to SQL all operations will be executed on the data-base server. You can check this post:
    http://blogs.telerik.com/VladimirEnchev/Posts/08-07-17/Maximum_performance_using_Telerik_RadGrid_client-side_data-binding_with_LINQ_to_SQL.aspx?ReturnURL=%2fVladimirEnchev%2fPosts.aspx

    All the best,
    Vlad
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Filleau
    Filleau avatar
    114 posts
    Member since:
    Jun 2006

    Posted 12 Sep 2008 Link to this post

    Thanks, but in my case I use a memory table, not SQL Server
  5. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 12 Sep 2008 Link to this post

    Hello Filleau,

    By default in .NET 3.5 version of Telerik.Web.UI RadGrid will use LINQ to Objects to filter, sort and page your collection internally. You can control this using EnableLinqExpresions property.

    Best wishes,
    Vlad
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  6. Filleau
    Filleau avatar
    114 posts
    Member since:
    Jun 2006

    Posted 12 Sep 2008 Link to this post

    hello,

    Yes I know this, but I need to know if running is faster using Link or not.
  7. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 12 Sep 2008 Link to this post

    Hi Filleau,

    Linq to Object against collection of objects is faster compared to DataView.RowFilter.

    Greetings,
    Vlad
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017