Multi-Column in Context Menu Not Working

6 posts, 0 answers
  1. Mark
    Mark avatar
    79 posts
    Member since:
    Apr 2007

    Posted 02 Feb 2010 Link to this post

    Does the context menu support multi-column?  I'm following this http://demos.telerik.com/aspnet-ajax/menu/examples/multicolumnmenu/defaultcs.aspx but it seems to have no bearing on context menus.
  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 04 Feb 2010 Link to this post

    Hi MJ,

    MultiColumn is supported in context menu for the first level items (not root items) like this:

    <telerik:RadContextMenu runat="server" ID="RadMenu1">
        <Targets>
            <telerik:ContextMenuDocumentTarget />
        </Targets>
        <DefaultGroupSettings RepeatColumns="2" RepeatDirection="Vertical" />
        <Items>
            <telerik:RadMenuItem Text="parent">
                <Items>
                    <telerik:RadMenuItem Text="item1" />
                    <telerik:RadMenuItem Text="item2" />
                    <telerik:RadMenuItem Text="item3" />
                    <telerik:RadMenuItem Text="item4" />
                    <telerik:RadMenuItem Text="item5" />
                    <telerik:RadMenuItem Text="item6" />
                </Items>
            </telerik:RadMenuItem>
        </Items>
    </telerik:RadContextMenu>


    All the best,
    Yana
    the Telerik team

    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
    Follow the status of features or bugs in PITS and vote for them to affect their priority.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Mark
    Mark avatar
    79 posts
    Member since:
    Apr 2007

    Posted 04 Feb 2010 Link to this post

    Understood and thanks.  Are there any plans to provide support on the root?  I use the context menu often for right-clicking on items, so there are no child items - only the root.
  5. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 05 Feb 2010 Link to this post

    Hi MJ,

    For now we don't have such plans, actually you're the first one to request this. You can use templates to achieve similar look, please check our online demo here.

    Best regards,
    Yana
    the Telerik team

    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
    Follow the status of features or bugs in PITS and vote for them to affect their priority.
  6. Mark
    Mark avatar
    79 posts
    Member since:
    Apr 2007

    Posted 05 Feb 2010 Link to this post

    Thanks for the update.  I'm not sure a template will work in my case.  I have dynamic content that needs to be displayed in the root of a context menu.
  7. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 08 Feb 2010 Link to this post

    Hi MJ,

    You can add templates dynamically as it's explained here.

    Regards,
    Yana
    the Telerik team

    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
    Follow the status of features or bugs in PITS and vote for them to affect their priority.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017