Sub Menu text align

2 posts, 1 answers
  1. Grant
    Grant avatar
    25 posts
    Member since:
    Feb 2014

    Posted 30 Jul 2014 Link to this post

    Hi

    My submenu does not replicate the same style as my menu.

    The submenu items seem to be smaller than the menu items.

    Any help would be appreciated with this. 

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

    Posted 31 Jul 2014 in reply to Grant Link to this post

    Hi Grant

    The easiest way to adjust the width of the RadMenu child items is to use the GroupSettings property:

    Check the following code for more information

    ASPX
    <telerik:RadMenu ID="RadMenu1" Skin="Black" runat="server">
        <Items>
            <telerik:RadMenuItem Text="Veeeery looong item text">
                <GroupSettings Width="155px" />
                <Items>
                    <telerik:RadMenuItem runat="server" Text="Item 1">
                    <Items>
                     
                    <telerik:RadMenuItem runat="server" Text="Item 1000">
                    </telerik:RadMenuItem>
                    <telerik:RadMenuItem runat="server" Text="Item 1001">
                    </telerik:RadMenuItem>
                    <telerik:RadMenuItem runat="server" Text="Item 1002">
                    </telerik:RadMenuItem>
                    <telerik:RadMenuItem runat="server" Text="Item 1003">
                    </telerik:RadMenuItem>
                    <telerik:RadMenuItem runat="server" Text="Item 1004">
                    </telerik:RadMenuItem>
                    <telerik:RadMenuItem runat="server" Text="Item 1005">
                    </telerik:RadMenuItem>
                    </Items>
                    </telerik:RadMenuItem>
                     
                    <telerik:RadMenuItem runat="server" Text="Item 2" />
                    <telerik:RadMenuItem runat="server" Text="Item 3" />
                </Items>
            </telerik:RadMenuItem>
        </Items>
    </telerik:RadMenu>

    Thanks
    Shinu
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top