Hi,
I am using radgrid with filtering switched on. With filtering the performance of a radgrid on IE is very poor, especially on slower computers. I checked that without filtering switched on, the page is loading much quicker and the page source code is half that big. I can add that I already made some optimizations like RadScriptManager or custom paging and it's still too slow. Is it possible to reduce the amount of javascript added with filtering on?
Alicja
I am using radgrid with filtering switched on. With filtering the performance of a radgrid on IE is very poor, especially on slower computers. I checked that without filtering switched on, the page is loading much quicker and the page source code is half that big. I can add that I already made some optimizations like RadScriptManager or custom paging and it's still too slow. Is it possible to reduce the amount of javascript added with filtering on?
Alicja
7 Answers, 1 is accepted
0
Hi Alicja,
Thе demo linked below illustrates the optimized performance techniques incorporated in the ASP.NET 3.5 build of RadGrid. The control takes advantage of the new LINQ syntax introduced in ASP.NET 3.5 and performs aggregate calculations or executes sorting/filtering/paging operations by means of native LINQ expressions.
http://demos.telerik.com/aspnet-ajax/grid/examples/performance/linq/defaultcs.aspx
Give it a try and let me know if it helps.
All the best,
Pavlina
the Telerik team
Thе demo linked below illustrates the optimized performance techniques incorporated in the ASP.NET 3.5 build of RadGrid. The control takes advantage of the new LINQ syntax introduced in ASP.NET 3.5 and performs aggregate calculations or executes sorting/filtering/paging operations by means of native LINQ expressions.
http://demos.telerik.com/aspnet-ajax/grid/examples/performance/linq/defaultcs.aspx
Give it a try and let me know if it helps.
All the best,
Pavlina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0

alicja
Top achievements
Rank 1
answered on 14 Mar 2012, 02:05 PM
Hi Pavlina,
thank you for you reply.
I think this is not a problem with retrieving data by means of LINQ. We are using NHibernate and render only 50 records on page. Our lists render very quickly on Firefox, so I think the problem is that IE doesn't cope with that amount of html code/javascript (in our case 1-1,5MB). That's why I was thinking of a way to reduce the amount of source code that is generated.
Alicja.
0
Hello,
Actually the performance slow down comes from the browser, not from the server which servers the page. All ajax controls (including RadControls for ASP.NET AJAX) uses JavaScript in order to perform the required actions related to the DOM elements (move, create, etc.). As you know, this is a scripting language (which is significantly slower than C# or C++ for example) and it is interpreted by the browser.
Usually, limiting the number of rows/columns has the most impact on the performance. For another optimizing tips you can also refer to the help article below:
http://www.telerik.com/help/aspnet-ajax/grid-viewstate-reduction-techniques.html
Regards,
Pavlina
the Telerik team
Actually the performance slow down comes from the browser, not from the server which servers the page. All ajax controls (including RadControls for ASP.NET AJAX) uses JavaScript in order to perform the required actions related to the DOM elements (move, create, etc.). As you know, this is a scripting language (which is significantly slower than C# or C++ for example) and it is interpreted by the browser.
Usually, limiting the number of rows/columns has the most impact on the performance. For another optimizing tips you can also refer to the help article below:
http://www.telerik.com/help/aspnet-ajax/grid-viewstate-reduction-techniques.html
Regards,
Pavlina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0

alicja
Top achievements
Rank 1
answered on 16 Mar 2012, 11:16 AM
Hi Pavlina,
we limited the number of rows, but we cannot limit the number of columns. The feature which provides header context menu and enables showing/hiding columns is important in our application. We also went through the suggestions from the link, in our case we used custom paging.
We bought the Telerik controls because they provide many features we require. So turning off client features of the grid is not a solution to us unless maybe we can move part of it to server side?
Have you got any suggestions if this is possible to reduce the amount of generated javascript other than turning off some of the features?
Regards
Alicja
we limited the number of rows, but we cannot limit the number of columns. The feature which provides header context menu and enables showing/hiding columns is important in our application. We also went through the suggestions from the link, in our case we used custom paging.
We bought the Telerik controls because they provide many features we require. So turning off client features of the grid is not a solution to us unless maybe we can move part of it to server side?
Have you got any suggestions if this is possible to reduce the amount of generated javascript other than turning off some of the features?
Regards
Alicja
0
Hello,
I suggest that you go through the following help article and see if it helps:
Client/server grid performance optimizations
Regards,
Pavlina
the Telerik team
I suggest that you go through the following help article and see if it helps:
Client/server grid performance optimizations
Regards,
Pavlina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0

alicja
Top achievements
Rank 1
answered on 21 Mar 2012, 02:22 PM
Hi,
the suggestions from your link do not help.
Are there any other ways to optimize?
Regards,
Alicja
the suggestions from your link do not help.
Are there any other ways to optimize?
Regards,
Alicja
0
Hi,
Other useful tips about how to optimize the overall performance of RadGrid for ASP.NET AJAX you can find in these online resources:
http://www.telerik.com/help/aspnet-ajax/grid-overview.html (Chapter "Performance tips and tricks")
http://www.telerik.com/products/aspnet-ajax/resources/top-performance.aspx
http://www.telerik.com/support/aspnet-ajax/grid.aspx (section "Performance")
Greetings,
Pavlina
the Telerik team
Other useful tips about how to optimize the overall performance of RadGrid for ASP.NET AJAX you can find in these online resources:
http://www.telerik.com/help/aspnet-ajax/grid-overview.html (Chapter "Performance tips and tricks")
http://www.telerik.com/products/aspnet-ajax/resources/top-performance.aspx
http://www.telerik.com/support/aspnet-ajax/grid.aspx (section "Performance")
Greetings,
Pavlina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.