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

Load on Demand?

8 Answers 131 Views
Rotator
This is a migrated thread and some comments may be shown as answers.
Adam Hubble
Top achievements
Rank 1
Adam Hubble asked on 05 Jul 2009, 02:46 PM
Hi, I'm currently loading some random ads into a region of pages using a repeater and a timer control. In order to ensure good page load times I am loading the timer and the timer then loads in the ads after the page has rendered in the browser. The timer then disables itself.

While this approach works fine, there is a minor bug with scrolling interuption in IE browsers. Ideally I would like to use the telerik rotator control. I can't see anything built in to the control that would help me to replicate the behaviour I need. Are there any plans for this?

Thanks,
Matt

8 Answers, 1 is accepted

Sort by
0
Fiko
Telerik team
answered on 08 Jul 2009, 11:51 AM
Hi Matt,

We plan (it is already in our ToDo list) to allow asynchronous loading of rotator items in one of the future releases of the RadRotator control - I believe this is what you want to achieve.
In case that your requirements are different, please send us some screenshots/video of the expected behavior. We will take a closer look over the requirements an provide you with an answer as soon as possible.

Regards,
Fiko
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Adam Hubble
Top achievements
Rank 1
answered on 08 Jul 2009, 01:04 PM
Hi Fiko,

Yes this is what I want to achieve - asyncronous loading after the page has been rendered on the client.

I have achieved it with the timer and a usercontrol, but I look forward to the Telerik solution.

Thanks,
Matt
0
Anne-Marie
Top achievements
Rank 1
answered on 09 Sep 2009, 02:40 PM
When is Load on Demand scheduled for release?
0
Georgi Tunev
Telerik team
answered on 10 Sep 2009, 07:12 AM
Hello Anne,

This feature is still in our ToDo list and it will be implemented in one of 2010's releases - most probably in Q1 2010.



Regards,
Georgi Tunev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
sayitfast
Top achievements
Rank 2
Iron
answered on 18 Sep 2009, 10:09 PM
This would be great!!!
0
Adam Hubble
Top achievements
Rank 1
answered on 03 Oct 2009, 04:03 PM
If the content you want to dynamically load into a banner region does not need to have postback capability you can delay-load content using the new radxmlhttppanel to good effect. 

 

<div id="adsRow">

 

 

<telerik:RadXmlHttpPanel runat="server" ID="RadXmlHttpPanelAdverts" Value="3"

 

 

OnServiceRequest="RadXmlHttpPanelAdverts_ServiceRequest">

 

 

 

<asp:Panel ID="adsLoading" CssClass="adsLoading" runat="server">

 

 

 

<asp:Image ID="adsLoadingImg" ImageUrl="~/App_Themes/Default/Images/adLoader.gif" runat="server" />

 

 

 

<asp:Literal ID="loadingTxt" Text="<p>Loading...</p>" runat="server"></asp:Literal>

 

 

</asp:Panel>

 

 

 

</telerik:RadXmlHttpPanel>

 

 

 

</div>

 


<

 

Telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">

 

<

 

script language="javascript" type="text/javascript">

 

window.setTimeout(loadUserProfile, 1000);

 

function loadUserProfile() {

 

 

var panel = $find("<%= RadXmlHttpPanelAdverts.ClientID %>");

 

panel.set_value(

"true");

 

}

 

</script>

 

 

</Telerik:RadScriptBlock>

 



 

Protected Sub RadXmlHttpPanelAdverts_ServiceRequest(ByVal sender As Object, ByVal e As RadXmlHttpPanelEventArgs)

 

 

If e.Value = "true" Then

 

 

If Not RadScriptManager.IsInAsyncPostBack Then

 

LoadAdContent()

 

End If

 

 

End If

 

 

End Sub

 

 


Private
Sub LoadAdContent()

 

adsLoadingImg.Visible =

False

 

adsLoading.CssClass =

""

 

loadingTxt.Visible =

False

If
AuthHelper.IsAuthenticatedMember() Then

 

 

 

 

Dim controlLoad As UserControl

 

controlLoad =

Me.LoadControl("~/AppLayouts/WebControls/AdvertControls/Member/Default/NoProfileMember.ascx")

 

 

Me.adsLoading.Controls.Add(controlLoad)

 

 


Else

 

 

 

 

Dim controlLoad As UserControl

 

controlLoad =

Me.LoadControl("~/AppLayouts/WebControls/AdvertControls/Public/Default/NoProfilePublic.ascx")

 

 

Me.adsLoading.Controls.Add(controlLoad)

 

 

End If

 

 

End Sub

 

0
Peter Thomas
Top achievements
Rank 1
answered on 08 Feb 2010, 02:10 AM
Hi, is the load on-demand feature still slated for Q1 2010? Thanks
0
Fiko
Telerik team
answered on 11 Feb 2010, 06:39 AM
Hello Peter,

Due to tasks with higher priority, we postponed this feature for one of the following updates.

Regards,
Fiko
the Telerik team

Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
Tags
Rotator
Asked by
Adam Hubble
Top achievements
Rank 1
Answers by
Fiko
Telerik team
Adam Hubble
Top achievements
Rank 1
Anne-Marie
Top achievements
Rank 1
Georgi Tunev
Telerik team
sayitfast
Top achievements
Rank 2
Iron
Peter Thomas
Top achievements
Rank 1
Share this question
or