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
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/.