c# - Appending dropdown menu to specific menuitem in Kendo UI -
i have created menubar in kendo ui follows
@html.kendo().menu().name("navigationmenu").items(items => { if (request.isauthenticated) { foreach (searchhub.models.shared.submodule s in viewbag.submodule) { items.add().htmlattributes(new { id = s.controller }).text(s.title).action("index", s.controller); } items.add().htmlattributes(new { id = "td" }).text("training").action("index", "td") ; } else { items.add().text("login").action("index", "login"); } }) ;
this viewing below:
i want have drop down menu teacher
, student
when keep mouse on traning menu item.
for tried append <ul> <li>
:
items.add().htmlattributes(new { id = s.controller }).text(s.title).action("index", s.controller).append... ;
but .append not function on here menu item.
i want same functionality in simple asp.net-jquery slidedown()
how can have drop down menu item when have mouse on training???
please me, new mvc4 , kendo ui in asp.net
Comments
Post a Comment