When I hit enter in the richtextbox, an empty line appears between the previous and the new line (like a new paragraph).
I would like to insert a 'normal' enter/new line when I hit enter.
Is this possible? Now the only way I can achieve this is when I hit shift + enter.
In order to change the input behavior of the control, you should create a descendant of the InputBehavior class and override the desired method. Here is how to change the Enter key behavior as per your request:
radRichTextBox1.DocumentView.InputBehavior = new MyInputBehavior(radRichTextBox1.DocumentView);
I hope this helps.
Regards,
Stefan
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely. Sign up for Free application insights >>