Incorrect rendering of wide RadComboBox

4 posts, 0 answers
  1. Randy
    Randy avatar
    3 posts
    Member since:
    Dec 2008

    Posted 21 May 2015 Link to this post

    I have a wide RadComboBox with Width set to 100%. When re-sizing the browser's window (IE, Chrome, FF) at some point the button is separated from the combo box. Image attached. Telerik version is 2015.1.401.45
  2. Dimitar
    Admin
    Dimitar avatar
    281 posts

    Posted 22 May 2015 Link to this post

    Hi,

    The observed behavior is a limitation of the Classic RenderMode of RadComboBox, which uses sprite images. I would recommend you to set the control's RenderMode property to Lightweight and take advantage of the HTML5/CSS3 rendering, which does not have such a limitation:

    <telerik:RadComboBox ID="RadComboBox1" RenderMode="Lightweight" runat="server" Width="100%">
        <Items>
            <telerik:RadComboBoxItem Text="1" />
            <telerik:RadComboBoxItem Text="2" />
        </Items>
    </telerik:RadComboBox>


    Regards,
    Dimitar
    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Randy
    Randy avatar
    3 posts
    Member since:
    Dec 2008

    Posted 22 May 2015 Link to this post

    I see only two options for RenderingMode: Simple and Full. However when I set it to Simple it rendered the combo the right way. And I see from the page source it uses standard SELECT in that case. Thank you!
  5. Randy
    Randy avatar
    3 posts
    Member since:
    Dec 2008

    Posted 22 May 2015 in reply to Randy Link to this post

    My mistake. I used RenderingMode while had to use RenderMode. 

    Setting RenderMode to Lightweight seems to be resolved the issue even when I use item templates.

Back to Top