When placed into a ScrollViewer RadWatermarkTextBox can recieve focus only when clicked on the WatermarkContent
5 comments
ADMIN
Nasko
Posted on:20 Apr 2016 10:14
The observed behavior is caused by the ScrollViewer itself in Silverlight. When ScrollViewer is used as a container and it is clicked on a place that is not able to get the focus, the ScrollViewer itself gets it. In order to avoid ScrollViewer to take the focus IsTabStop should be set to False:
<ScrollViewer Height="122" IsTabStop="False">
<telerik:RadWatermarkTextBox x:Name="RadWatermark"
WatermarkContent="Click here!"
AcceptsReturn="True"/>
</ScrollViewer>
Brad
Posted on:20 Dec 2013 13:31
And another thing, why is this even up for a vote? It's a bug.
Ristogod
Posted on:20 Dec 2013 13:31
Yeah, we need this fix asap. The control should work the same no matter what it's placed in.
Brad
Posted on:20 Dec 2013 13:30
I agree, this should really be fixed. The text box almost becomes unusable.
Mike
Posted on:01 Nov 2013 11:08
This is an issue when you accept return and have multiple lines. The control only receives focus when you click on the first line or on text that is already there. I would be nice if it receives focus if you click anywhere on the control.