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

Menu Item Popup issue

1 Answer 4 Views
AJAX and Web 2.0
This is a migrated thread and some comments may be shown as answers.
Dayana Maliyakal
Top achievements
Rank 1
Dayana Maliyakal asked on 20 Feb 2014, 04:44 AM
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();
                    %>

1 Answer, 1 is accepted

Sort by
0
Petur Subev
Telerik team
answered on 24 Feb 2014, 02:35 PM
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!
Tags
AJAX and Web 2.0
Asked by
Dayana Maliyakal
Top achievements
Rank 1
Answers by
Petur Subev
Telerik team
Share this question
or