Select lines in Multiline RadTextBox

1 Answer 70 Views
TextBox
Bryan
Top achievements
Rank 1
Bryan asked on 01 Feb 2023, 09:44 PM

Is it possible to select (highlight) individual lines in a RadTextBox when multiline is set to true?  For example, a user enters 10 lines of data, is it possible to highlight only lines 2, 5, & 7?  If so, how?

1 Answer, 1 is accepted

Sort by
0
Dinko | Tech Support Engineer
Telerik team
answered on 02 Feb 2023, 09:19 AM

Hello Bryan,

I appreciate your interest in our RadTextBox control.

I want to note that RadTextBox hosts internally the standard TextBox control which means that they have similar behavior. Your requirement is not possible to achieve using the RadTextBox control. You could consider using our RadRichTextEditor control instead. By holding the Ctrl keyboard button you can select, with the mouse, different lines, words, etc. as much as you need.

Give this control a try and let me know if you have any other questions.

Regards,
Dinko | Tech Support Engineer
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
TextBox
Asked by
Bryan
Top achievements
Rank 1
Answers by
Dinko | Tech Support Engineer
Telerik team
Share this question
or