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

RadTicker inside RadRotator

1 Answer 86 Views
Rotator
This is a migrated thread and some comments may be shown as answers.
kiran
Top achievements
Rank 1
kiran asked on 17 Mar 2010, 01:07 PM

Hi all,

i have a problem in radrotator which consist of radticker in item template.

in this example the XPath("Title")  displays the text which marquee from left to right.
if the title consist of long text then i cant see the text whcih is beyond the item height.

 

<

telerik:RadRotator id="RadRotator1" ScrollDirection="Left" DataSourceID="XmlDataSource1" runat="server" width="377" height="251" FrameDuration="12000">

<ItemTemplate>

<div class="jewelryImage"><img src="<%# XPath("Image") %>" height="252" width="153" alt=""/></div>

<div class="jewelryRightPane">

<div class="jewelryDescription">

<div class="jewelryDescription_Text">

<telerik:RadTicker runat="server" >

<Items>

<telerik:RadTickerItem Text='<%# XPath("Title") %>' />

</Items> </telerik:RadTicker> </div>

 

 

 </div>

 

 

 <div class="jewelryName"><img src="<%# XPath("ItemName") %>" height="35" width="224" alt=""/></div>

 

 

 <div class="addToCart"><a href=""><img src="Images/addToCart.gif" height="22" width="224" style="border: 0px" alt="add to shopping cart" title="add to shopping cart"/></a></div>

 

 

 </div>

 

 

 </ItemTemplate>

 

 

 </telerik:RadRotator>

 

 

 <asp:XmlDataSource ID="xmlDataSource1" runat="server" DataFile="jewelry.xml"></asp:XmlDataSource>

example of XML data

<NewsItem>

 

<

Title>Kiran testing the witdth and height with more info text without the rules for rad rotater skined thats probablly.

Double strand pearl bracelet with color matching silver tone linked circles. The colored enamel with glitter

circles have a carved wave design on

them.</Title>

 

<

Image>Images/Image_03.gif</Image>

 

<

ItemName>Images/Image_03_Name.gif</ItemName>

 

</

NewsItem>

 

 


Thanks

 


 

1 Answer, 1 is accepted

Sort by
0
Pero
Telerik team
answered on 22 Mar 2010, 10:24 AM
Hello Kiran,

You could increase the height of the rotator, or limit the length of the text displayed in the RadTicker control.

I created a sample project (and attached it) based on the code you provided, and didn't have any problems after increasing the dimensions of the rotator. Please test the project and let me know if you are still experiencing problems. Moreover, I need the CSS styles used in your application, to be able to inspect the problem more closely and reproduce it in the same exact way as in your dev environment.

All the best,
Pero
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Rotator
Asked by
kiran
Top achievements
Rank 1
Answers by
Pero
Telerik team
Share this question
or