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

GotFocus event problem

1 Answer 54 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Alexey
Top achievements
Rank 2
Alexey asked on 15 Jun 2009, 05:20 AM
Hi,

We are using Silverlight 3 beta 1 (1529 build)

On the page we have two instances of usercontrol with telerik treeview and microsoft datagrid inside. User contols are placed into stack panel with horizontal alignment.

Left user control                  Right user control
| TreeView  & Datagrid |      | TreeView  & Datagrid |

We want to use getfocus event of this usercontrols, but on the first click to the right usercontrol gotfocus event fires for both.

On the left usercontrol, event was fired two times. At first time event was fired by radtreeview and then by selected treeview item. But it should not fire at all.

If we will click left usercontrol, right user control won't rise the event.

Thanks,
Alexey Zakharov.

1 Answer, 1 is accepted

Sort by
0
Bobi
Telerik team
answered on 17 Jun 2009, 09:56 AM
Hi Alexey,

Please find attached a sample project that shows how to use GotFocus() event.

If you debug the project and take a look at the Output window you will see a  message that explain which control was focused.

Please let us know if you still have any other questions.

Best wishes,
Boryana
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
TreeView
Asked by
Alexey
Top achievements
Rank 2
Answers by
Bobi
Telerik team
Share this question
or