Completed
Last Updated: 08 Mar 2018 09:15 by ADMIN
ADMIN
Created by: Dinko
Comments: 1
Category: WatermarkTextBox
Type: Bug Report
0
When setting this property to CaretToEnd, a possible workaround which can be used is to subscribe to the GotFocus event of the control. In the event handler you can set the SelectionStart property to the length of the text using a Dispatcher.BeginInvoke() method.  

private void RadWatermarkTextBox_GotFocus(object sender, RoutedEventArgs e)
{
	var watermarkTextBox = sender as RadWatermarkTextBox;
	if(watermarkTextBox!= null)
	{	
		Dispatcher.BeginInvoke((Action)(() =>
		{
			watermarkTextBox.SelectionStart = watermarkTextBox.Text.Length;
		}));
	}
}
Approved
Last Updated: 04 Apr 2017 07:49 by ADMIN
Won't Fix
Last Updated: 13 May 2016 12:47 by ADMIN
ADMIN
Created by: Telerik Admin
Comments: 1
Category: WatermarkTextBox
Type: Bug Report
5
When click with mouse on the text it is selected every second time even when SelectionOnFocus is set to "SelectAll". If you click before the text it is selected every time.