SilverLight version 4
Internet Explorer version 8
Windows Server 2008
I had regular SilverLight TreeView controls. I replace one of them with the Telerik TreeView control. This one in particular had no event hook-ups. I wanted to disable the expanding and collapsing of nodes so that the control will always stay expanded. I hooked into two events as the coded example:
The code behind is as the following:
I have the break points set to stop at the "e.Handled = true". I am assuming that the events are not firing because it does not stop at these points. Any suggestions to why this isn't working would be greatly appreciated.
Internet Explorer version 8
Windows Server 2008
I had regular SilverLight TreeView controls. I replace one of them with the Telerik TreeView control. This one in particular had no event hook-ups. I wanted to disable the expanding and collapsing of nodes so that the control will always stay expanded. I hooked into two events as the coded example:
<telerik:RadTreeView x:Name="tvMDocs" PreviewExpanded="tvMDocs_PreviewExpanded" PreviewCollapsed="tvMDocs_PreviewCollapsed" /> |
The code behind is as the following:
private void tvMDocs_PreviewExpanded(object sender, Telerik.Windows.RadRoutedEventArgs e) |
{ |
e.Handled = true; |
} |
private void tvMDocs_PreviewCollapsed(object sender, Telerik.Windows.RadRoutedEventArgs e) |
{ |
e.Handled = true; |
} |
I have the break points set to stop at the "e.Handled = true". I am assuming that the events are not firing because it does not stop at these points. Any suggestions to why this isn't working would be greatly appreciated.
Steve