RadWatermarkTextBox automatically focuses on load?

2 posts, 0 answers
  1. Sam
    Sam avatar
    67 posts
    Member since:
    Jun 2011

    Posted 07 Aug 2012 Link to this post

    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



  2. Sam
    Sam avatar
    67 posts
    Member since:
    Jun 2011

    Posted 08 Aug 2012 Link to this post

    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.
  3. DevCraft banner
Back to Top