Hi,
Actually I have a Radgrid with Filter command.
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
5 Answers, 1 is accepted
0
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.
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.
0
Filleau
Top achievements
Rank 1
answered on 12 Sep 2008, 02:12 PM
Thanks, but in my case I use a memory table, not SQL Server
0
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.
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.
0
Filleau
Top achievements
Rank 1
answered on 12 Sep 2008, 02:26 PM
hello,
Yes I know this, but I need to know if running is faster using Link or not.
Yes I know this, but I need to know if running is faster using Link or not.
0
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.
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.