RadMenu and Combobox in the template

3 posts, 0 answers
  1. Roland
    Roland avatar
    156 posts
    Member since:
    Feb 2009

    Posted 20 Oct 2009 Link to this post

    Hello,

    I have a radmenu and one of the item templates uses radcombobox.

    How do I make the radcombobox to show its dropdown over the menu ?
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 21 Oct 2009 Link to this post

    Hi Roland,

    Set the z-index value of RadComboBox higher than the RadMenu as shown below.

    aspx:
     
    <telerik:RadMenu ID="RadMenu1" runat="server"
        <Items> 
            <telerik:RadMenuItem runat="server" Text="Root RadMenuItem1"
                <Items> 
                    <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 1"
                        <ItemTemplate> 
                            <telerik:RadComboBox Style="z-index: 10000" ID="RadComboBox1" runat="server"
                                <Items> 
                                    <telerik:RadComboBoxItem Text="Item1" /> 
                                    <telerik:RadComboBoxItem Text="Item2" /> 
                                    <telerik:RadComboBoxItem Text="Item3" /> 
                                </Items> 
                            </telerik:RadComboBox> 
                        </ItemTemplate> 
                    </telerik:RadMenuItem> 
                    <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 2"
                    </telerik:RadMenuItem> 
                </Items> 
            </telerik:RadMenuItem> 
        </Items> 
    </telerik:RadMenu> 

    -Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Roland
    Roland avatar
    156 posts
    Member since:
    Feb 2009

    Posted 21 Oct 2009 Link to this post

    Hello,

    O believe me I tried this :)

    Rendered HTML radmenu has zindex 7000, combobox rcbSlide element 8000 and drop down is shown under the radmenu.
Back to Top