I am passing kendo MenuItem as JSON from server side to client side which are having Mainmenu and SubMenu options. Mainmenu is rendering properly but SubMenu are not rendering. let me explain with code;
below is my server side JSON data which i am sending to Client side:
and in my client side, data is rendering properly

but output is showing data for MainMenu items only not for SubMenu.
Below is my javascript code:
function KendoMenuItem(menuItem)
{
jsObjectForkendoMenuItem = menuItem;
}
function kendoMenu() {
debugger;
// alert(jsObjectForkendoMenuItem);
$('#menu').kendoMenu({
//orientation: "vertical",
dataSource: [
{
text: "Add",
value: "Add",
items: jsObjectForkendoMenuItem
},
],
//select: onKendoMenuselect
});
}
please let me know where i am doing wrong.
Ok. the problem was I in
Itemswas in capital letter.