Telerik.WinControls.UI.RadTextBox Enter key issue.

1 Answer 126 Views
TextBox
Sathish
Top achievements
Rank 1
Iron
Iron
Sathish asked on 17 Oct 2022, 02:35 PM

I am using RadTextBox  in Windows application, but Enter key is not working I am unable to add a new line.

Telerik.WinControls.UI.RadTextBox

1 Answer, 1 is accepted

Sort by
0
Accepted
Dess | Tech Support Engineer, Principal
Telerik team
answered on 18 Oct 2022, 04:36 AM

Hi, Sathish,

In order to have multiple lines in RadTextBox, its Multiline property should be set to true. Then, if you want the Enter key to create and go to the next line, you need to set the AcceptsReturn property also to true.

            this.radTextBox1.Multiline = true;
            this.radTextBox1.AcceptsReturn = true;

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Sathish
Top achievements
Rank 1
Iron
Iron
commented on 18 Oct 2022, 05:47 AM

Thank you Dress.

This is working now.

Tags
TextBox
Asked by
Sathish
Top achievements
Rank 1
Iron
Iron
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or