In the TreeView control it is possible to disable postbacks on nodes that have children but still allow these nodes to be expanded. This is achieved as follows:
// server side
RadTreeView1.OnClientNodeClicking = "ClientNodeClicking";
//client side
function ClientNodeClicking(sender, eventArgs)
{
var node = eventArgs.get_node();
if(node.get_nodes().get_count() > 0)
{
eventArgs.set_cancel(true);
}
}
Is it possible to achieve the same thing with the panelBar control?