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

All server controls seems to be reloaded on the server side with a partial post back

1 Answer 28 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
vincent
Top achievements
Rank 1
vincent asked on 23 May 2012, 02:48 PM
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

Sort by
0
Iana Tsolova
Telerik team
answered on 25 May 2012, 01:53 PM
Hello vincent,

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.

Kind regards,
Iana Tsolova
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.
Tags
Ajax
Asked by
vincent
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Share this question
or