We are using AjaxManager and have several child controls on one page. We noticed on the server-side every server control's Page_Load is being called. This is causing the page to load extremely slow.
We only need 4 child controls to be reloaded.
How can this be accomplished?
1 Answer, 1 is accepted
answered on 25 May 2012, 01:53 PM
When a page is ajaxified, the page lifecycle is executed the same way it would do with regular postbacks. All the events on the server are fired the same way in the same sequence. The main difference is that only certain part of the page is sent back on the client and only certain part of the page content is updated.
To improve the performce, you can make sure only the neccessary controls are visible, e.g. rendered after ajax.
If you observed that all controls, the ones you update with ajax and the ones you do not want to update after certain ajax request, this is probably due to an issue with the ajax configuration. If this is your case, please send us a sample illustrating your scenario so we can further check it.
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.