This is a migrated thread and some comments may be shown as answers.
Child window breaking Tab Got Focus event.
2 Answers 37 Views
This is a migrated thread and some comments may be shown as answers.
Richard
Top achievements
Rank 1
Richard asked on 16 Feb 2011, 03:42 PM

Hi,

 

I’m having a very strange issue that I can’t reproduce on a new project so I think it’s an issue with my app but I’ll ask anyway.

 

Basically I have a tab control and the tabs have Got Focus events attached to them that fire as expected. However one of my Tab’s has a button that when clicked shows a Silverlight child window , after I close this all the Got Focus events stop working.

 

I can click each tab and the Got Focus event will not fire, HOWEVER if I click the same tab twice the Got Focus event will fire and all the other tab’s Got Focus events start to work normally as well.

 

I  can repeat issue over and over by launching child window, which breaks the Got Focus on all Tabs and by clicking the same tab twice fixes the Got Focus event for all tabs ….. it’s crazy!

 

It doesn’t seem to be an issue with the particular child window as creating a new blank window with no code other than to pop it up still breaks the Got Focus events.

 

And ideas would be a great help.

 

Thanks,

Richard

2 Answers, 1 is accepted

Sort by
0
Hristo
Telerik team
answered on 21 Feb 2011, 07:07 PM
Hello Richard,

Actually what I can simulate is a bit different but still does not perform in the appropriate way. In my case the button inside the header stays selected while changing the selected tab headers. The TabControl should not behave that way and must move the focus appropriately when clicking on the tab headers. I suppose this is the reason why the GotFocus event is not fired (you have to click twice).

I've logged an issue in our public issue tracking system. You could track its status and vote for it through following the link: http://www.telerik.com/support/pits.aspx#/public/silverlight/4897

Currently we are improving our TabControl and fixing some of the bugs. Hope this bug will also be fixed for the upcoming 2011.Q1 official release.

Hope this helps. Please let me know if you need more info.

Greetings,
Hristo
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Richard
Top achievements
Rank 1
answered on 02 Mar 2011, 10:17 AM

Thanks Hristo,

 

I have gone back to the Microsoft Tab Control for now, while not as pretty it does work more reliably. Hopefully in the next release this will fixed.

 

Cheers,

Richard

Asked by
Richard
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Richard
Top achievements
Rank 1
Share this question
or