The code below
<telerik:RadRotator ID="dtMessage" runat="server" FrameDuration="1" Height="55px" ItemHeight="55px" Width="100%" ItemWidth="100%"> <ItemTemplate> <asp:Label ID="lblMsg" runat="server" Width="100%"></asp:Label><br /> <asp:Label ID="lblMsg2" runat="server" Width="100%"></asp:Label> <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>
If strDirection = "Down" Then
dtMessage.ScrollDirection = RotatorScrollDirection.Down
ElseIf strDirection = "Up" Then
dtMessage.ScrollDirection = RotatorScrollDirection.Up
ElseIf strDirection = "Left" Then
dtMessage.ScrollDirection = RotatorScrollDirection.Left
dtMessage.RotatorType = RotatorType.SlideShow
Else
dtMessage.ScrollDirection = RotatorScrollDirection.Right
End If
dtMessage.ScrollDuration = intMsgSpeed * 1000
<!
DOCTYPE HTML PUBLIC "-//W3C//DTD HTML Transitional//EN">
<
meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<
html xmlns="http://www.w3.org/1999/xhtml">
<
body contenteditable="true" style="margin: 0px; overflow: hidden">
<div contenteditable="false" style="background: #e0e0e2" unselectable="on">
<table style="border-right: #d8d8da 1px solid; border-top: #d8d8da 1px solid; margin-top: 10px;
font-size: 12px; background: #fff; border-left: #d8d8da 1px solid; color: #333;
border-bottom: #d8d8da 1px solid; font-family: Helvetica, Arial, sans-serif"
cellspacing="0" cellpadding="0" width="500" align="center" border="0">
<tbody>
<tr>
<td contenteditable="false" style="padding-right: 30px; padding-left: 30px; padding-bottom: 20px;
padding-top: 30px" unselectable="on">
<div contenteditable="true" jquery1313062595089="17" unselectable="off" editable="true">
<p unselectable="off" contenteditable="true">
Dear Applicant,
<br />
<br />
</p>
<p unselectable="off" contenteditable="true">
Thank you for your application to Us. We appreciate your interest, but unfortunately,
your qualifications didn’t match the client’s specific needs for this job.
<br />
<br />
</p>
<p unselectable="off" contenteditable="true">
At XYZ, we specialize in particular industries and positions, and don’t often have
openings that match your skills and experience. You can search our open positions
at
<a href="#http://www.google.com" unselectable="off" contenteditable="true">Google.com</a>,
and find us on your favorite online communities at
<a href="http://www.google.com"
unselectable="off" contenteditable="true">Google.com</a>.<br />
<br />
</p>
<p unselectable="off" contenteditable="true">
<br />
</p>
<p unselectable="off" contenteditable="true">
Thank you,
<br />
</p>
<b>Ravi </b>
<br />
<i>Developer</i><br />
<br />
<br />
</div>
</td>
</tr>
</tbody>
</table>
</div>
</
body>
</
html>