Good Day.
Is there a way the have the WatermarkTextBox accept multi line text including next lines? I dont want to use the RadRichTextBox as it looks much complicated the what I needed. I just need a simple multi line textbox.
Also, I noticed that with WatermarkTextBox, It does not set the caret to the end of the text when I input a long text. As a result, it only displays the first part of the long text when typing. I already set the property SelectionOnFocus to CaretToEnd.
It only shows the expected behavior when I navigate to the end of the text then type again
6 Answers, 1 is accepted
![](/forums/images/avatarimages/default.gif)
![](/forums/images/avatarimages/default.gif)
I achieved the multiline WatermarkTextBox by setting the Height, TextWrapping And AcceptsReturn="True"
The only problem is the Textbox behavior when typing long text. Thanks
Hello Gerardo,
Can you send a short video showing the troublesome behavior along with a code snippet of the RadWatermarkTextBox definition in Xaml?
Regards,
Martin Ivanov
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/.
![](/forums/images/avatarimages/default.gif)
Hi Sir Martin
Attached are the code i am using and the behavior I am pointing.
Thank you
Hello Gerardo,
I've tested the attached code, but I wasn't able to reproduce the issue. Can you check the attached project and let me know if I am missing anything?
Regards,
Martin Ivanov
Progress Telerik
Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive , special prizes and more, for FREE?! Register now for DevReach 2.0(20).
![](/forums/images/avatarimages/default.gif)
Thank you for the sample app Sir Martin. I was able to point out the issue because of that. Turns out that the problem is because of the custom style I made for ScrollViewer. The textbox now works as expected. Thanks.