Is there a way I can get at a treeview context menu client side outside of any treeview specific events?
on page load i want to grab the treeview context menu and hide some items if necessary.
or do i use a radcontext menu separate from the tree and show that
i'm trying this
Sys.Application.add_load(function() {
//determine if user has permission.
if (!allow('Something')) {
$find('myTelerikToolbar1').findItemByValue('something').hide(); //THIS WORKS!!
$find('tvContext').findItemByValue('something').hide(); //THIS DOESN'T
}
});
regards
on page load i want to grab the treeview context menu and hide some items if necessary.
or do i use a radcontext menu separate from the tree and show that
i'm trying this
Sys.Application.add_load(function() {
//determine if user has permission.
if (!allow('Something')) {
$find('myTelerikToolbar1').findItemByValue('something').hide(); //THIS WORKS!!
$find('tvContext').findItemByValue('something').hide(); //THIS DOESN'T
}
});
regards