RadComboBox Focused Style

2 posts, 0 answers
  1. Bernard Myers
    Bernard Myers avatar
    16 posts
    Member since:
    Sep 2009

    Posted 17 Mar 2011 Link to this post

    Ver 2010.3.1317.35, IE8, Windows 7 Skin, Windows 7 x64 OS

    I'm using a simple border and background colour to highlight the focused fields in my application via the skin file:-


    <telerik:RadTextBox runat="server" >
        <FocusedStyle BackColor="#EEF6FF" BorderColor="Red" /> 

    Unfortunately this option isn't implemented in all controls (which would be the ideal solution) so I have used the StyleBuilder to try and implement a simialr function for the RadComboBox....

    Unfortunately No matter what I do I cannot seem to get the Focused RadComnoBox to be the same height as the normal one making the screen jump up and down as I move from Combo Boxes to Text boxes.

    I've added a Border of 1 in red to the focused control which works fine but when I add a transparent border of 1 to the normal control it just seems to ignore it? It look correct in Style Builder but when I save and download it then reload from the zip it has removed the border? Any ideas?


  2. Kamen Bundev
    Kamen Bundev avatar
    1532 posts

    Posted 23 Mar 2011 Link to this post

    Hi Bernard,

    RadComboBox uses background images for its styling and it can't be resized vertically that easily. You will need to edit the background sprite and the skin to change the height, check this guide for more information how to do that. Alternatively you can use the Simple skin which is styled with simple borders and background colors and can be resized freely (though you will still need to override the height with CSS). Also in the Simple skin you can override the borders to any color you want. If you still have problems with this, file a support ticket and send a sample project and we will help you fix it.

    Kind regards,
    Kamen Bundev
    the Telerik team
Back to Top