Morning,
Before I log this as an issues, I want to ensure that what I am doing is correct. I am using the RadTreeView with 3 levels of node and I am dynmaic assigning context menus based on the level.
private void RadTreeView1_SelectedNodeChanged(object sender, RadTreeViewEventArgs e)
{
if (e.Node.Level == 0)
{
e.Node.ContextMenu =ContextMenu1 ;
}
else if (e.Node.Level == 1)
{
e.Node.ContextMenu =ContextMenu2;
}
else (e.Node.Level == 2)
{
e.Node.ContextMenu =ContextMenu3 ;
}
}
When I right click on the level 2, my context menu works perfect. When I right click on any other level, I get a single line of pixels which I believe is my menu. Am I doing the correctly?
Thanks
James
Before I log this as an issues, I want to ensure that what I am doing is correct. I am using the RadTreeView with 3 levels of node and I am dynmaic assigning context menus based on the level.
private void RadTreeView1_SelectedNodeChanged(object sender, RadTreeViewEventArgs e)
{
if (e.Node.Level == 0)
{
e.Node.ContextMenu =ContextMenu1 ;
}
else if (e.Node.Level == 1)
{
e.Node.ContextMenu =ContextMenu2;
}
else (e.Node.Level == 2)
{
e.Node.ContextMenu =ContextMenu3 ;
}
}
When I right click on the level 2, my context menu works perfect. When I right click on any other level, I get a single line of pixels which I believe is my menu. Am I doing the correctly?
Thanks
James