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

RadComboBox width issue

2 Answers 199 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Alan
Top achievements
Rank 1
Alan asked on 28 Jun 2012, 05:19 PM
Hello, I have a problem with the property width of control radcombobox within a Iframe and the IFrame is within a RadPageView.
the radComboBox is render with table with="0px". Is this a bug with IE8 and IE9?. I look fine in other browsers.

Code:
  <telerik:RadTabStrip ID="rtsDetail" runat="server" MultiPageID="rmpDetail">
            <Tabs>
                <telerik:RadTab runat="server" PageViewID="rpvCO" Text="Customer Order">
                </telerik:RadTab>
                <telerik:RadTab runat="server" PageViewID="rpvWO" Text="WorkOrder">
                </telerik:RadTab>
                <telerik:RadTab runat="server" PageViewID="rpvOP" Selected="True" 
                    Text="Operations">
                </telerik:RadTab>
                <telerik:RadTab runat="server" PageViewID="rpvEDI" Text="EDI">
                </telerik:RadTab>
            </Tabs>
        </telerik:RadTabStrip>
        <telerik:RadMultiPage ID="rmpDetail" runat="server" Height="100%">
                                    <!-- Begin Details Tabs -->
            <telerik:RadPageView ID="rpvCO" runat="server" 
                Height="100%">
            <telerik:radcombobox ID="RadComboBox5" Runat="server">
                <Items>
                    <telerik:RadComboBoxItem Value="1" Text="Uno" />
                    <telerik:RadComboBoxItem Value="2" Text="Dos" />
                    <telerik:RadComboBoxItem Value="3" Text="Tres" />
                </Items>
                </telerik:radcombobox>
            </telerik:RadPageView>
            <telerik:RadPageView ID="rpvWO" runat="server" Height="100%">
               <iframe width='100%' src='WebCombo.aspx' height='100%' scrolling='yes'></iframe>
            </telerik:RadPageView>
            <telerik:RadPageView ID="rpvOP" runat="server" Height="100%">
                <telerik:radcombobox ID="RadComboBox3" Runat="server">
                <Items>
                    <telerik:RadComboBoxItem Value="1" Text="Uno" />
                    <telerik:RadComboBoxItem Value="2" Text="Dos" />
                    <telerik:RadComboBoxItem Value="3" Text="Tres" />
                </Items>
                </telerik:radcombobox>
            </telerik:RadPageView>
            <telerik:RadPageView ID="rpvEDI" runat="server" Height="100%">
                <telerik:radcombobox ID="RadComboBox4" Runat="server">
                    <Items>
                        <telerik:RadComboBoxItem Value="1" Text="Uno" />
                        <telerik:RadComboBoxItem Value="2" Text="Dos" />
                        <telerik:RadComboBoxItem Value="3" Text="Tres" />
                    </Items>
                </telerik:radcombobox>
            </telerik:RadPageView>
                                    <!-- End: Details Tabs -->
                                </telerik:RadMultiPage>


Code WebCombo.aspx

<div>


          <telerik:RadScriptManager ID="sp" runat="server">
          </telerik:RadScriptManager>
          <telerik:RadComboBox ID="rcbEquipment" runat="server" AllowCustomText="false" MarkFirstMatch="false"
            EnableLoadOnDemand="false" HighlightTemplatedItems="true" EnableTextSelection="false"
             Width="100%" EmptyMessage="" DropDownWidth ="130px" Height="50px"  >
            <ItemTemplate>
                <asp:CheckBox runat="server" ID="chk1"  />
                <asp:Label runat="server" ID="Label1" AssociatedControlID="chk1">
                <%# Eval("Value") %>
                </asp:Label>
            </ItemTemplate>
        </telerik:RadComboBox>
    </div>

I attach picture of html render.


I use telerik Telerik.Web.UI_2012_1_411


I hope some comment. 

2 Answers, 1 is accepted

Sort by
0
Kate
Telerik team
answered on 03 Jul 2012, 01:43 PM
Hi Alan,

I was able to replicate the issue that you describe.. However, we will need to investigate it further to determine if this is a bug of the RadComboBox control. I forwarded your scenario to our development team so that they can inspect it and fix it in case it is a bug.

All the best,
Kate
the Telerik team
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 their blog feed now.
0
Ivan Zhekov
Telerik team
answered on 01 Aug 2012, 12:35 PM
Hi, Alan.

That's a very strange behaviour and looks like a bug. I was able to narrow it down to using item templates. If you remove the templates and use the built in checkboxes, the combo behaves fine.

I've logged the bug and I have awarded you some Telerik points which you can see updated in your account profile.

Regards,
Ivan Zhekov
the Telerik team
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 their blog feed now.
Tags
General Discussions
Asked by
Alan
Top achievements
Rank 1
Answers by
Kate
Telerik team
Ivan Zhekov
Telerik team
Share this question
or