Scrolling Text?

3 posts, 1 answers
  1. Phillip Foster
    Phillip Foster avatar
    58 posts
    Member since:
    Apr 2010

    Posted 11 Oct 2010 Link to this post

    Random question:

    Is there a way to make this control do scrolling text?

    textbox would contain:

    "this is a.."
    "his is a t"
    "is is a te"
    "s is a tes"
    " is a test"
    "is a test "

    I'm not that was not necessary, but eh. 
    Anyone know?'

  2. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 11 Oct 2010 Link to this post


    As far as Im aware, there is no default support for this. You'd need to implement your own system for updating text in the textbox that would immitate scrolling text.

    However, I'd have a look at the demo applications that are installed with the controls and use either a rad rotator or even a rad progress bar (where you can use your own image)
    Hope that helps
  3. DevCraft R3 2016 release webinar banner
  4. Answer
    Emanuel Varga
    Emanuel Varga avatar
    1336 posts
    Member since:
    May 2010

    Posted 11 Oct 2010 Link to this post

    Hello Philip,

    There is no telerik control that does this, but i have prepared a CustomRadTextBoxControl that will do this, please see the following example, it should help you accomplish your task:
    using System;
    using System.Windows.Forms;
    using Telerik.WinControls.UI;
    public partial class Form1 : Form
        ScrollableRadTextBox radTextBox1 = new ScrollableRadTextBox();
        public Form1()
        protected override void OnLoad(EventArgs e)
            radTextBox1.Dock = DockStyle.Top;
            radTextBox1.Text = "This is a test of the emergency broadcast systems";
            var stopButton = new RadButton();
            stopButton.Text = "Stop";
            stopButton.Dock = DockStyle.Bottom;
            stopButton.Click += new EventHandler(stopButton_Click);
            var startButton = new RadButton();
            startButton.Text = "Start";
            startButton.Dock = DockStyle.Bottom;
            startButton.Click += new EventHandler(startButton_Click);
        void stopButton_Click(object sender, EventArgs e)
        void startButton_Click(object sender, EventArgs e)
    public class ScrollableRadTextBox : RadTextBox
        private Timer scrollTimer = new Timer();
        private string currentText;
        public override string ThemeClassName
                return typeof(RadTextBox).FullName;
        public ScrollableRadTextBox()
            : base()
            scrollTimer.Interval = 200;
        private void ScrollText(int noCharacters)
            if (this.Text.Length == 0 || this.Text.Length < noCharacters)
            var pos = 0;
            currentText = Text;
            var tempText = currentText + " " + currentText;
            scrollTimer.Tick += delegate
                    if (pos - 1 > currentText.Length) pos = 0;
                    Text = tempText.Substring(pos++, noCharacters);
        public void StartScrolling(int noCharacters)
        public void EndScrolling()
            this.Text = currentText;

    Hope this helps, if you have any other questions or comments, please let me know,

    Best Regards,
    Emanuel Varga
Back to Top