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

Tab Change Causes Drop Down Content Lists from Previous Tab to Show

3 Answers 40 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
Stephen
Top achievements
Rank 1
Stephen asked on 21 Apr 2015, 12:29 PM
We have this seemingly random behavior with tab control.  Sometimes when we change tabs, the content of one of the drop downs on the the tab we are navigating from opens in the upper corner of the application.  The drop down drop list is the part that shows.  It isn't in a case where that tab was even open when the tab change happened.  A couple of times, I have seen the content of 2 different drop downs, from the previous tab, show at once.  The screenshot is of this last case, where two showed in the upper left.  This happened when clicking on the Contact tab, coming from the Profile tab.

3 Answers, 1 is accepted

Sort by
0
Kiril Vandov
Telerik team
answered on 22 Apr 2015, 07:04 AM
Hello Stephen,

We have tried to reproduce the issue on our side, but with no success. That is why I would like to ask you for more information about your scenario:
- do you have nested TabControls?
- what is the XAML that you are using for you View?
- do you have any custom styles?
- what are the steps that lead to that behavior? Simply changing the TabItems ?

Also if you could send us an isolated project reproducing the issue will help us better understand your scenario and provide you with the best possible solution.

Kind regards,
Kiril Vandov
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
0
Stephen
Top achievements
Rank 1
answered on 22 May 2015, 07:54 PM

I figured out the cause of this.  It happens when the very first control on a GridViewTab is a RadComboBox.  It must have something to do with the focus going to the drop down box, when the tab has already changed.  This causes the inside list from the drop down to appear in the upper left (because there is no longer a combo box to hold the list.

I confirmed the issue by adding a textblock control, with 0 length and 0 width and 0 height to the tab item, in front of the combo box.  This made the problem go away.  So, what I ended up doing was create one of these controls in the part of the screen above the tab control and every tab change, I give that control focus (which ends up being invisible to the user.  This made the behavior go away for all tabs in the tab control.

0
Kiril Vandov
Telerik team
answered on 26 May 2015, 01:13 PM
Hello Stephen,

I am glad to hear that you have found a solution to the problem.

I have tried once again to reproduce the issue based on the new information that you have provided but with no success, maybe there is something specific that I am missing. If you want us to further investigate this issue please attach us a sample project reproducing the issue.

Please let us know if you need further assistance.

Regards,
Kiril Vandov
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
TabControl
Asked by
Stephen
Top achievements
Rank 1
Answers by
Kiril Vandov
Telerik team
Stephen
Top achievements
Rank 1
Share this question
or