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

RadRotator not responce

1 Answer 63 Views
Rotator
This is a migrated thread and some comments may be shown as answers.
ying
Top achievements
Rank 1
ying asked on 09 Sep 2011, 06:55 AM
I attack the picture below, show that the word dint scrolling

Client Side
<telerik:RadRotator ID="dtMessage" runat="server" PauseOnMouseOver ="false" 
FrameDuration="1" Height="55px" ItemHeight="55px" Width="737px" ItemWidth="737px">
<ItemTemplate>
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%">
<tr><td align="center" valign="middle" ><asp:Label ID="lblMsg" runat="server"></asp:Label></td></tr>
<tr><td align="center" valign="middle"><asp:Label ID="lblMsg2" runat="server"></asp:Label></td></tr>
</table>
<asp:HiddenField ID="hldMsg1" Value ='<%# Eval("Msg1") %>' runat="server" />
<asp:HiddenField ID="hldMsg2" Value ='<%# Eval("Msg2") %>' runat="server" />
<asp:HiddenField ID="hldFontFace" Value ='<%# Eval("FontFace") %>' runat="server" />
<asp:HiddenField ID="hldFontSize" Value ='<%# Eval("FontSize") %>' runat="server" />
<asp:HiddenField ID="hldFontColor" Value ='<%# Eval("FontColor") %>' runat="server" />
<asp:HiddenField ID="hldDirection" Value ='<%# Eval("MessageDirection") %>' runat="server" />
</ItemTemplate>
</telerik:RadRotator>

On the Server Side
dtMessage.DataSource = objDS.Tables(5)
dtMessage.DataBind()
 
Dim strColor As String = objDS.Tables(5).Rows(0)("FontColor").ToString
Dim strDirection As String = objDS.Tables(5).Rows(0)("MessageDirection").ToString
 Dim intMsgSpeed As Integer = objDS.Tables(5).Rows(0)("MessageSpeed").ToString
 
 
If strDirection = "Down" Then
dtMessage.ScrollDirection = RotatorScrollDirection.Down
 ElseIf strDirection = "Up" Then
 dtMessage.ScrollDirection = RotatorScrollDirection.Up
 ElseIf strDirection = "Left" Then
  dtMessage.ScrollDirection = RotatorScrollDirection.Left
 Else
dtMessage.ScrollDirection = RotatorScrollDirection.Right
 End If
 
If strDirection = "Up" Or strDirection = "Down" Then
  dtMessage.ScrollDuration = intMsgSpeed * 1000
Else
  dtMessage.ScrollDuration = intMsgSpeed * 10000
End If

1 Answer, 1 is accepted

Sort by
0
Niko
Telerik team
answered on 12 Sep 2011, 03:14 PM
Hi Ying,

After extended testing I wasn't able to come across any difficulties or issues with the setup that you have provided. My advice would be to isolate the issue in a simple project and open a support ticket so that I can investigate the issue in details.
Please, find attached a sample page which was part of the tests. Please, note that I have made modifications compared to your code in order to be independent of source the data comes from.

Regards,
Niko
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Rotator
Asked by
ying
Top achievements
Rank 1
Answers by
Niko
Telerik team
Share this question
or