Failed to focus RadWatermarkTextBox
<telerik:RadDropDownButton Margin="10 0"
DropDownIndicatorVisibility="Collapsed"
DropDownPlacement="Mouse">
<telerik:RadDropDownButton.DropDownContent>
<StackPanel Orientation="Horizontal">
<telerik:RadButton Click="AddLocation_OnClick"/>
<telerik:RadWatermarkTextBox
Width="100"
Loaded="RadWatermarkTextBox_Loaded"/>
</StackPanel>
</telerik:RadDropDownButton.DropDownContent>
</telerik:RadDropDownButton>
private void RadWatermarkTextBox_Loaded(object sender, RoutedEventArgs e)
{
if (sender is RadWatermarkTextBox tb)
{
tb.Text = string.Empty;
}
}
Hello Ohad,
Unfortunately, I was unable to reproduce the specified issue. Could you take a look at the attached project and see if I missed something when trying to reproduce the problem? If you have a project where the issue is isolated that would also be enough.
Regards,
Krasimir Balchev
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/.