RadComboBox width issue

3 posts, 0 answers
  1. Alan
    Alan avatar
    3 posts
    Member since:
    Jun 2012

    Posted 28 Jun 2012 Link to this post

    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. Kate
    Admin
    Kate avatar
    1898 posts

    Posted 03 Jul 2012 Link to this post

    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.
  3. Ivan Zhekov
    Admin
    Ivan Zhekov avatar
    649 posts

    Posted 01 Aug 2012 Link to this post

    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.
Back to Top