This is a migrated thread and some comments may be shown as answers.

Unable to set focus on a TextBox after a transition

2 Answers 90 Views
TransitionControl
This is a migrated thread and some comments may be shown as answers.
GEB
Top achievements
Rank 1
GEB asked on 30 Oct 2010, 02:30 PM
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 Answers, 1 is accepted

Sort by
0
Miroslav Nedyalkov
Telerik team
answered on 03 Nov 2010, 05:30 PM
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.

Regards,
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
0
GEB
Top achievements
Rank 1
answered on 10 Nov 2010, 04:34 PM
Thanks Miroslav.  This example was perfect for getting my application to work.
Tags
TransitionControl
Asked by
GEB
Top achievements
Rank 1
Answers by
Miroslav Nedyalkov
Telerik team
GEB
Top achievements
Rank 1
Share this question
or