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

Async load page content

1 Answer 130 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Michal
Top achievements
Rank 1
Michal asked on 03 Jul 2015, 09:14 AM

Hi,I'm playing with one website and here is the thing:

On this page are plenty of divs, each with different content. I want to load the core (div headers, user info etc.) and after that, when user see this core, I want to async load content of each div. After that I want refresh content of divs, but in different timespan. 

Can I do that somehow with Telerik Ajax? I tried something with AjaxPanel, but the content shows after the full page load.

Thank you very much for your advice.

1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 07 Jul 2015, 08:35 AM
Hello,

In order to achieve the required functionality you can separate each div part into separate UserControl. Then could add a asp Timer control in order to trigger the UserControls loading. When the timer elapses, you could load the user control you want and show LoadingPanel which could be set as DefaultLoadingPanelID for the main RadAjaxManager.

Regards,
Maria Ilieva
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Ajax
Asked by
Michal
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or