RadComboBox Issue

5 posts, 1 answers
  1. Imdad Turi
    Imdad Turi avatar
    29 posts
    Member since:
    Aug 2013

    Posted 26 May 2014 Link to this post

    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
  2. Answer
    Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 27 May 2014 Link to this post

    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.
     
  3. DevCraft banner
  4. Imdad Turi
    Imdad Turi avatar
    29 posts
    Member since:
    Aug 2013

    Posted 27 May 2014 in reply to Vladi Link to this post

    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
  5. Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 27 May 2014 Link to this post

    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.
     
  6. Imdad Turi
    Imdad Turi avatar
    29 posts
    Member since:
    Aug 2013

    Posted 27 May 2014 Link to this post

    Thank you :)
Back to Top
DevCraft banner