This is a migrated thread and some comments may be shown as answers.
RadWatermarkTextBox automatically focuses on load?
1 Answer 23 Views
This is a migrated thread and some comments may be shown as answers.
Sam
Top achievements
Rank 1
Sam asked on 08 Aug 2012, 04:42 AM
Hi there,

I'm having a strange issue with RadWatermarkTextBox - whenever it loads, it is automatically grabbing focus, which is undesired behaviour.

I've tried to reproduce this problem within a sample project, but I can't - it seems to be a peculiarity within our application (which is very complex).

Could someone investigate for me to see if there is the potential for this behavior to occur? It seems to be related to the Loaded event handling within this control.

Thanks!

Sam



1 Answer, 1 is accepted

Sort by
0
Sam
Top achievements
Rank 1
answered on 08 Aug 2012, 06:30 AM
OK, after more experimentation, this issue doesn't appear to be related specifically to RadWatermarkTextBox - if I use a normal TextBox the same problem occurs. 

It looks like it's a problem with the RadTabControl - it's focussing the first enabled control in the visual tree when I select the tab item directly.

You can close this thread, I'll repost in the right area.
Asked by
Sam
Top achievements
Rank 1
Answers by
Sam
Top achievements
Rank 1
Share this question
or