Hi,
I have implemented a radRotator to display 'news feeds' across the top of the page. this is loading and displaying data correctly from the database. We have also implemented a RadPanelBar which has 3 levels. some items will open a page, and some items will expand the panelbar to display the sub items.
Upon clicking the panelbar which expands to display the sub items (no postback) the radRotator scroll speed keeps on increasing. it increases to a point where it is no longer readable and zooms across the screen.
OnClientItemClicked of the RadPanelBar i have created a simple function as suggested in one of the threads to re-set the rotator speed. However, this does not fix the issue. Any suggestions?
function SetRotatorSpeed() {
var rotatorElement = document.getElementById("<%= radRotTickerText.ClientID %>" + "_Div");
if (rotatorElement != null) {
rotatorElement.set_scrollDuration = 30;
rotatorElement.set_tickSpeed = 30;
}
}
<rad:RadRotator ScrollDirection="left" ScrollSpeed="30"
UseSmoothScroll="false" FrameTimeout="0" Height="25px"
TransitionType="scroll" FramesToShow="1" ID="radRotTickerText"
Width="100%" runat="server" >
<FrameTemplate>
<table cellpadding="0" cellspacing="3" border="0">
<tr>
<td class="Change" style="white-space:nowrap; ">
<%#DataBinder.Eval(Container.DataItem, "[TickerText]")%>
</td>
</tr>
</table>
</FrameTemplate>
</rad:RadRotator>
I have implemented a radRotator to display 'news feeds' across the top of the page. this is loading and displaying data correctly from the database. We have also implemented a RadPanelBar which has 3 levels. some items will open a page, and some items will expand the panelbar to display the sub items.
Upon clicking the panelbar which expands to display the sub items (no postback) the radRotator scroll speed keeps on increasing. it increases to a point where it is no longer readable and zooms across the screen.
OnClientItemClicked of the RadPanelBar i have created a simple function as suggested in one of the threads to re-set the rotator speed. However, this does not fix the issue. Any suggestions?
function SetRotatorSpeed() {
var rotatorElement = document.getElementById("<%= radRotTickerText.ClientID %>" + "_Div");
if (rotatorElement != null) {
rotatorElement.set_scrollDuration = 30;
rotatorElement.set_tickSpeed = 30;
}
}
<rad:RadRotator ScrollDirection="left" ScrollSpeed="30"
UseSmoothScroll="false" FrameTimeout="0" Height="25px"
TransitionType="scroll" FramesToShow="1" ID="radRotTickerText"
Width="100%" runat="server" >
<FrameTemplate>
<table cellpadding="0" cellspacing="3" border="0">
<tr>
<td class="Change" style="white-space:nowrap; ">
<%#DataBinder.Eval(Container.DataItem, "[TickerText]")%>
</td>
</tr>
</table>
</FrameTemplate>
</rad:RadRotator>