Hello,
Can I populate a radgrid on right clicking (context menu) on a tree node so that the grid gets populated using ajax and the context menu also shows?
I tried it but the after the grid gets populated, the context menu disappears.
function OnClientContextMenuShowing(sender, args) {
var treeNode = args.get_node();
treeNode.set_selected(true);
/*
//Here I tried to call the ajax function for populating the grid
*/
if (args.get_menu() != null) {
setMenuItemsState(args.get_menu().get_items(), treeNode);
}
}
Abhay
Can I populate a radgrid on right clicking (context menu) on a tree node so that the grid gets populated using ajax and the context menu also shows?
I tried it but the after the grid gets populated, the context menu disappears.
function OnClientContextMenuShowing(sender, args) {
var treeNode = args.get_node();
treeNode.set_selected(true);
/*
//Here I tried to call the ajax function for populating the grid
*/
if (args.get_menu() != null) {
setMenuItemsState(args.get_menu().get_items(), treeNode);
}
}
Abhay