Menu Item Popup issue

2 posts, 0 answers
  1. Dayana Maliyakal
    Dayana Maliyakal avatar
    27 posts
    Member since:
    Jan 2010

    Posted 19 Feb 2014 Link to this post

    Hi Telerik Team,

    I have the following menu.I want to set a popup window while clicking menu each menu item(ie:Here menu item Action will be as popup).
    How this possible?

    With regards
    Dayana


    <% Html.Telerik().Menu()
                .Name("Menu")        
                .Orientation(MenuOrientation.Horizontal)
                .Items(menu =>
                {
                    menu.Add()
                        .ImageUrl("~/Images/Active.gif")
                        .ImageHtmlAttributes(new { style = "padding: 0px 0px 0px 18px;position: absolute;" })
                        .Text("Employee")
                        .HtmlAttributes(new { style = "width: 113;line-height:4;" })
                        .Selected(true)
                        .Items(ItemEmployee =>
                            {
                                ItemEmployee.Add().Text(" Home");                        
                               ItemEmployee.Add().Text("New").Items(ItemNew =>
                                    {
                                        ItemNew.Add()
                                            .Text("Test1")                                      
                                             .Action("AddTask?ItemTypeID=1&Operation=Add", "Test")
                                            .ImageUrl("~/Images/tt.gif");
                                        ItemNew.Add()
                                            .Text("Add Feature")
                                             .Action("AddTask?ItemTypeID=2&Operation=Add", "Test")
                                            .ImageUrl("~/Images/tt1.gif");
                                        ItemNew.Add()
                                            .Text("Add Bug")
                                              .Action("AddTask?ItemTypeID=3&Operation=Add", "Test")
                                            .ImageUrl("~/Images/tt3.gif");
                                        ItemNew.Add()
                                            .Text("Add Release")
                                            .Action("AddTask?ItemTypeID=4&Operation=Add", "Test")
                                            .ImageUrl("~/Images/tt4.gif");
                                    });
                               
                            });
                           
                    menu.Add()
                         .Text("Lists")
                         .HtmlAttributes(new { style = "width: 113;line-height:4;" })
                         .Visible(Convert.ToBoolean(ViewData["IsAuthorized"]))
                         .ImageUrl("~/Images/icon.png")
                         .ImageHtmlAttributes(new { style = "padding: 0px 0px 0px 18px;position: absolute;" });
                 
                })
                .Render();
                        %>
  2. Petur Subev
    Admin
    Petur Subev avatar
    1882 posts

    Posted 24 Feb 2014 Link to this post

    Hello Dayana,

    The extensions that you are using are no longer supported. If you want to get support consider migrating to KendoUI for ASP.NET MVC

    http://docs.telerik.com/kendo-ui/getting-started/using-kendo-with/aspnet-mvc/migration/migrating-from-telerik-extensions-for-aspnet-mvc

    Kind Regards,
    Petur Subev
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top