Click here to Skip to main content
15,888,108 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Ex:http://demo.easyquerybuilder.com/asp-net-mvc/[^]

@(Html.Kendo().Menu()
.Name("Menu")
.Items(items =>
{
items.Add()
.Text("Customer")
.Items(children =>
{
children.Add().Text("Company Name")
.Items(innerChildren =>
{

innerChildren.Add().Text("Company Id");

});
});
})
.Events(e => e.Open("open").Close("close").Select("select").Activate("activate").Deactivate("deactivate"))
)

<label for="myalue" style="vertical-align: middle"></label>



<style>
#menu h2 {
font-size: 1em;
text-transform: uppercase;
padding: 5px 10px;
}

#template img {
margin: 5px 20px 0 0;
float: left;
}

#template {
width: 380px;
}

#template ol {
float: left;
margin: 0;
padding: 10px 10px 0 10px;
}

#template:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}

#template .k-button {
float: left;
clear: left;
margin: 5px 0 5px 12px;
}
</style>


<script>

var intCount = 0;
var items = new Array();
function select(e) {


items[intCount] = $(e.item).children(".k-link").text();
debugger;
//alert(items);
intCount = intCount + 1;
jQuery("label[for='myalue']").html('Select ' + '' + items + ' ' + ' ' + 'starts with' + '' + '<input type="text" value="" >');
//jQuery("label[for='myalue']").html('Select '+ items + '
    Posted

    This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



    CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900