RadWatermarkTextBox focus problem inside RadDropDownButton

0 Answers 31 Views
WatermarkTextBox
Ohad
Top achievements
Rank 3
Bronze
Iron
Iron
Ohad asked on 27 Jun 2022, 08:31 AM

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;
    }
}
Krasimir Balchev
Telerik team
commented on 29 Jun 2022, 10:50 AM

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/.

No answers yet. Maybe you can help?

Tags
WatermarkTextBox
Asked by
Ohad
Top achievements
Rank 3
Bronze
Iron
Iron
Share this question
or