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

Ticker & Multiple lines

1 Answer 44 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Developer
Top achievements
Rank 1
Developer asked on 21 Jan 2015, 09:38 AM
Hi,

Does the ticker control support multiple lines?  I have a datatable that returns 5 rows.  I want the ticker to produce 5 lines as well, i.e. not overwrite the orginal one 5 times?

Is this possible?

Thanks

Andy.

1 Answer, 1 is accepted

Sort by
0
Slav
Telerik team
answered on 23 Jan 2015, 03:49 PM
Hello Andy,

The RadTicker control is designed to gradually display a plain text node and when it completes it, the text is cleared and a new one starts ticking.

If you concatenate the text from all data table rows, set the full text to the Text property of a RadTickerItem and configure a smaller Width for the ticker, the text should be displayed on several rows. You can adjust the width of the ticker until it matches your requirements:
<telerik:RadTicker runat="server" ID="RadTicker1" AutoStart="true" Width="300px">
    <Items>
        <telerik:RadTickerItem runat="server" ID="RadTickerItem1" Text="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
            incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
             consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat
            cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.">
        </telerik:RadTickerItem>
    </Items>
</telerik:RadTicker>


Regards,
Slav
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussions
Asked by
Developer
Top achievements
Rank 1
Answers by
Slav
Telerik team
Share this question
or