Unable to set focus on a TextBox after a transition

3 posts, 0 answers
  1. GEB
    GEB avatar
    228 posts
    Member since:
    Dec 2008

    Posted 30 Oct 2010 Link to this post

    I have a simple program that essentially transitions from one "form" to another by transitioning from one grid to another.  When a grid is transitioned, I want to set the focus on the First textBox in the new visible grid.  However, when I call the Focus() method for the TextBox after switching the transition content, the focus is still not placed on the TextBox.  Any ideas?
  2. Miroslav Nedyalkov
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 03 Nov 2010 Link to this post

    Hello Gary,

     I tried the scenario you described and couldn't reproduce the problem - please refer to the example attached to this post. In the example the TextBox takes the focus correctly.

    Miroslav Nedyalkov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft R3 2016 release webinar banner
  4. GEB
    GEB avatar
    228 posts
    Member since:
    Dec 2008

    Posted 10 Nov 2010 Link to this post

    Thanks Miroslav.  This example was perfect for getting my application to work.
Back to Top