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
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.
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
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.
<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
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.