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

Combo box overlay problem

2 Answers 22 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Joe
Top achievements
Rank 1
Joe asked on 19 Jul 2013, 08:40 AM
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 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 1
answered on 19 Jul 2013, 10:00 AM
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.
0
Joe
Top achievements
Rank 1
answered on 22 Jul 2013, 02:18 AM
thank you. it works.
Tags
ComboBox
Asked by
Joe
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 1
Joe
Top achievements
Rank 1
Share this question
or