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

RadComboBox Issue

4 Answers 61 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Imdad Turi
Top achievements
Rank 2
Imdad Turi asked on 26 May 2014, 02:46 PM
Hello Telerik!
there are two issues with RadCombo  i am experiencing.

Issue 1:
I have RadComboBoxes in my application. On one screen i have RadComboBoxes in RadTabItems showing very mysterious behavior. When i focus one RadComboBox in one tab then switch to next TabItem, the previously focused RadCombBox opens in the left-Top corner of the browser Outside the user Control area.
the screenshot of XML of RadCombo is attached.

Issue 2:
this one is related to Styling. RadComboBox  font weight is "bold", while in properties it is set to normal.

thanks in advance.

Imdad

4 Answers, 1 is accepted

Sort by
0
Accepted
Vladi
Telerik team
answered on 27 May 2014, 10:40 AM
Hello Imdad,

Thank you for contacting us.

Straight to the questions:
  1. We managed to observe the described issue when using editable RadComboBox controls inside RadTabControl. The opening of the DropDown portions of the controls when switching between tabs is caused by the focus moving to each RadComboBox control. In this scenario when OpenDropDownOnFocus is set to true the DropDown is opened and because the ComboBox is not visualized the Popup is placed at its default location at 0, 0. In order to resolve this issue you could simply set the TabNavigation of the RadComboBox control to Local, which will stop the focus from going through each control when switching between tabs.
  2. I am assuming that you are using the Windows8Theme in your application which supports dynamic FontSizes. In order for such dynamic FontSizes to be available there is a Style in that theme which targets every TextBlock and set specific values to its Style properties. That Style sets the FontFamily to Segoe UI Semibold which itself does not have an Bold style. Meaning that if the FontWeight is set to Bold or Normal there won't be any visual difference. In order to see Bold text in the editable RadComboBox control in the Windows8Theme you simply need to set a FontFamily that supports those FontWeight's (for example Segoe UI).

The next code snippet shows how the RadComboBox declaration in this case should look like:

<telerik:RadComboBox IsEditable="True"
         TabNavigation="Local"
         FontWeight="Bold"
         FontFamily="Segoe UI"
         OpenDropDownOnFocus="True"
         ItemsSource="{Binding Items}"/>

Hope this is helpful.

 


Regards,
Vladi
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
Imdad Turi
Top achievements
Rank 2
answered on 27 May 2014, 11:10 AM
Hello Vladi,

Thank you very much. It worked!!!

Can you please help with http://www.telerik.com/forums/radmaskedtextinput-boundary-issue.

once again thank you.

Imdad
0
Vladi
Telerik team
answered on 27 May 2014, 11:36 AM
Hello Imdad,

We are glad that the issues were resolved and we will do our best to respond to the other thread about RadMaskedTextInput as soon as possible.

Regards,
Vladi
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
Imdad Turi
Top achievements
Rank 2
answered on 27 May 2014, 12:32 PM
Thank you :)
Tags
General Discussions
Asked by
Imdad Turi
Top achievements
Rank 2
Answers by
Vladi
Telerik team
Imdad Turi
Top achievements
Rank 2
Share this question
or