Combo box overlay problem

3 posts, 0 answers
  1. Joe
    Joe avatar
    57 posts
    Member since:
    Mar 2013

    Posted 19 Jul 2013 Link to this post

    i had a combo box near the radmenu, there is a overlay problem when i click the combo box...

    how can i set the combo box on top of the radmenu ? thanks

     

    <telerik:RadComboBox AutoPostBack="true" Width="200"
    AppendDataBoundItems="true" ID="cb_personal" runat="server" Skin="Sunset" EnableOverlay="true" HighlightTemplatedItems="true">
    <%--<Items><telerik:RadComboBoxItem Text="-- Select --" Value="-1" /></Items>--%>
    </telerik:RadComboBox>
      
     
     
    <telerik:RadComboBox runat="server" ID="RadComboBox_Project" EnableOverlay="true"
                          DataTextField="DisplayName"  DataValueField="ProjectID" Skin="Sunset"
                                  EnableLoadOnDemand="True" DataSourceID="ObjectDataSource2"
                          OnSelectedIndexChanged="RadComboBox_Project_SelectedIndexChanged" AutoPostBack="True"
                                  HighlightTemplatedItems="true" Label="" Width="100%" NoWrap="True">

  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 19 Jul 2013 Link to this post

    Hi Joe,

    This issue is due to the large z-index of RadMenu (z-index : 7000). Since the RadMenu has a higher z-index compared to the RadComboBox, it always appears on top of the other control. This issue can be resolved by setting a higher z-index for the RadComboBox as follows.

    ASPX:
    <telerik:RadComboBox ID="RadComboBox" runat="server" ZIndex="7500">
        <Items>
            <telerik:RadComboBoxItem Text="Item 1" />
            <telerik:RadComboBoxItem Text="Item 2" />
        </Items>
    </telerik:RadComboBox>

    Thanks,
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Joe
    Joe avatar
    57 posts
    Member since:
    Mar 2013

    Posted 21 Jul 2013 Link to this post

    thank you. it works.
Back to Top