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

Inconsistent Behavior for ComboBox on Browser Window Resize

4 Answers 62 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Brian
Top achievements
Rank 1
Brian asked on 18 Jun 2013, 09:28 PM
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%" />

4 Answers, 1 is accepted

Sort by
0
Brian
Top achievements
Rank 1
answered on 19 Jun 2013, 03:15 PM
In case it helps, I am attaching two images to illustrate the issue.
0
Brian
Top achievements
Rank 1
answered on 19 Jun 2013, 08:26 PM
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.
0
Ivan Zhekov
Telerik team
answered on 24 Jun 2013, 07:11 AM
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.
0
Ivan Zhekov
Telerik team
answered on 08 Aug 2013, 03:21 PM
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.
Tags
ComboBox
Asked by
Brian
Top achievements
Rank 1
Answers by
Brian
Top achievements
Rank 1
Ivan Zhekov
Telerik team
Share this question
or