This is a migrated thread and some comments may be shown as answers.

[Solved] Page with Telerik controls loads very slowly

2 Answers 303 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
sabarishbabu
Top achievements
Rank 1
sabarishbabu asked on 16 Nov 2009, 11:58 AM
Hi,

My pages are loading very slowly.
My pages are containing textboxes, RadCombo, RadGrid and etc.
When I run this page using VisualStudio or in IIS, it will take more time to load.
This performance issue is only for pages with Telerik controls.

Thanks,
Sabarish.




2 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 16 Nov 2009, 12:29 PM
Hi Sabarishbabu,

We have a lot of optimization techniques for RadControls and I am sure some of them will be of great help for your project:

However, I suggest you replace RadTextBox with standard MS TextBox and use RadInputManager control. The main performance benefit which RadInputManager control has is related to the loading time of a large number of input controls on the page. The core of the performance benefit of using a RadInputManager as opposed to input controls, is in the following approach:

A normal input control generates a client side object for each control instance. For example, if you declare 300 input controls on the page, you will have 300 client objects, once the page is compiled and ran. On the other hand, when extending standard text boxes, via the RadInputManager control, you will have a single client side object, which would dramatically improve performance, while at the same time providing enhanced data entry capabilities for user input validation.

More information about RadInputManager is available in the following articles:
RadInputManager Performance
Dynamic Input Filter Settings

RadGrid

- data-binding: The .NET 2.0 version of the grid is optimized to handle up to 1 000 000 records without major performance problems. Server-side paging will increase performance dramatically.
http://www.telerik.com/DEMOS/ASPNET/Prometheus/Grid/Examples/Programming/CustomPaging/DefaultCS.aspx
  .NET 3.5 version can handle millions of records and will apply paging, sorting and filtering directly on the data-base server (LinqDataSource) codeless:
http://blogs.telerik.com/vladimirenchev/Posts/08-03-10/How_fast_is_your_ASP_NET_DataGrid.aspx?ReturnURL=%2fvladimirenchev%2fposts.aspx%3fYear%3d2008%26Month%3d3

   Client-side data-binding approach is also very fast + you will get pure JSON transfer between client and server:
http://blogs.telerik.com/VladimirEnchev/Posts/08-05-23/SQL_Server_sorting_paging_and_filtering_with_RadGrid_client-side_data-binding_to_WebService.aspx?ReturnURL=%2fVladimirEnchev%2fPosts.aspx

RadComboBox
Again performance might degrade with lots of items and lots of combobox instances. This is addressed by using load on demand.

1.  HTML markup
RadComboBox renders unordered list for its dropdown which is quite light. This is the least amount of html required to render the dropdown.
2.  Load on demand
RadComboBox supports two types of load on demand (with caching of items):
Web-Service
Callbacks (ASP.NET 2.0 Callbacks)

For more information about Optimization please refer to the following articles:
Optimizing output, page load time and the overall performance of RadControls for ASP.NET AJAX
How to optimize your performance?

I hope this helps.

Sincerely yours,
Pavlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
sabarishbabu
Top achievements
Rank 1
answered on 16 Nov 2009, 02:10 PM
Hi,
 
Thanks for this. I think this should help us in the page load scenario.
After analysing our site, we foudn the in most cases our problems are related to opening popup  windows (using RadDoc control)

Will log a separate thread  for the same.

thanks

Sabarish
Tags
General Discussions
Asked by
sabarishbabu
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
sabarishbabu
Top achievements
Rank 1
Share this question
or