Inconsistent Behavior for ComboBox on Browser Window Resize

5 posts, 0 answers
  1. Brian
    Brian avatar
    13 posts
    Member since:
    May 2013

    Posted 18 Jun 2013 Link to this post

    Hello,

    The first combobox below behaves as I would expect to, and resizes when the browser window is resized.  However, the second combobox does not resize when the browser window does.  They use the same skin.  The only real difference that I can see is that I use check boxes in the second one.  Is there some way I can get it to resize when the browser window does (even if it is somehow done with javascript)?  This is pretty important functionality for my customer...

    Any help would be greatly appreciated!

    <telerik:RadComboBox ID="ShapesRadComboBox" runat="server" Skin="SST_Touch"
        SkinID="SST_Touch" EnableEmbeddedSkins="False" AllowCustomText="false"
        ShowDropDownOnTextboxClick="true" Width="100%" />
     
    <telerik:RadComboBox ID="FillMaterialRadComboBox" runat="server" Skin="SST_Touch"
        SkinID="SST_Touch" EnableEmbeddedSkins="False" AllowCustomText="false"
        CheckBoxes="True" EnableCheckAllItemsCheckBox="True"
        ShowDropDownOnTextboxClick="true" CheckedItemsTexts="DisplayAllInInput"
        Width="100%" />
  2. Brian
    Brian avatar
    13 posts
    Member since:
    May 2013

    Posted 19 Jun 2013 Link to this post

    In case it helps, I am attaching two images to illustrate the issue.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Brian
    Brian avatar
    13 posts
    Member since:
    May 2013

    Posted 19 Jun 2013 Link to this post

    I have been able to get the width for both the behaving and misbehaving RadComboBoxes.  Unfortunately, changing the value has no effect.  When debugging, I still see the old value, although no error occurs when I try to make the change.  I have tried both:
    combo._element.clientWidth

    and
    combo._element.offsetWidth


    Getting the value I need the width to be is easy, but I need some way to effectively change it.
  5. Ivan Zhekov
    Admin
    Ivan Zhekov avatar
    539 posts

    Posted 24 Jun 2013 Link to this post

    Hello, Brian.

    I have logged your issue in the our feedback portal. You can follow it's development here -- http://feedback.telerik.com/Project/108/Feedback/Details/51932-fix-inconsistent-behavior-for-combobox-on-browser-window-resize.

    Regards,
    Ivan Zhekov
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  6. Ivan Zhekov
    Admin
    Ivan Zhekov avatar
    539 posts

    Posted 08 Aug 2013 Link to this post

    The bug is fixed now and will be made available in the next internal build (13/07/2013) and in terms in the official 2013 Q3 release.

    Regards,
    Ivan Zhekov
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017