This is a migrated thread and some comments may be shown as answers.
Issues when Treeview Item is selected
0 Answers 41 Views
This is a migrated thread and some comments may be shown as answers.
Bichitra
Top achievements
Rank 1
Bichitra asked on 16 Oct 2008, 03:01 AM
Hi,

I  have used RadTreeview control in silverlight 2 beta 2.  Now I am migrating beta to  RC1.  I took the latest control RadTreeview RC1 version.

When I select ( I mean click on treeview Item) it is giving the following error.

the steps I did.

I create Trview control dynamically.  and put in a user control and I added that user control in Microsoft tab control. that tab is loaded in RadWindow control .
It is working fine in beta 2 but as I migrated to RC1 with latest RC1 version of Rad controls. It giving error as i select list view Item. the same working fine beta 2.
Would you like to help me,Please?
Please look at the below errors.




+++++++++++++++++++++++++++++++++++++++++++++++
Line:  454
Char:  17
Error:  Sys.InvalidOperationException: ManagedRuntimeError error #4004 in control 'Xaml1': System.Exception: Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))
   at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
   at MS.Internal.XcpImports.MethodPack(IntPtr objectPtr, String methodName, Object[] rawData)
   at MS.Internal.XcpImports.UIElement_TransformToVisual(UIElement element, UIElement visual)
   at System.Windows.UIElement.TransformToVisual(UIElement visual)
   at Telerik.Windows.Controls.RadTreeViewItem.get_IsInViewport()
   at Telerik.Windows.Controls.RadTreeViewItem.BringIntoView()
   at Telerik.Windows.Controls.RadTreeViewItem.OnIsSelectedPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs args)
   at Telerik.Windows.DependencyPropertyExtensions.<>c__DisplayClass1.<GetSystemMetadata>b__0(DependencyObject d, DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object newValue, Object oldValue)
   at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isSetByStyle, Boolean isSetByBuiltInStyle)
   at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value)
   at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
   at Telerik.Windows.Controls.RadTreeViewItem.set_IsSelected(Boolean value)
   at Telerik.Windows.Controls.RadTreeView.SelectionChanger_SelectionChanged(Object sender, SelectionChangedEventArgs e)
   at Telerik.Windows.Controls.SelectionChanger`1.InvokeSelectionChangedEvent()
   at Telerik.Windows.Controls.SelectionChanger`1.End()
   at Telerik.Windows.Controls.RadTreeView.SetSelectedItem(RadTreeViewItem itemContainer)
   at Telerik.Windows.Controls.RadTreeView.HandleItemSelectionFromUI(RadTreeViewItem itemToSelect)
   at Telerik.Windows.Controls.RadTreeViewItem.OnHeaderMouseLeftButtonDown(Object sender, MouseButtonEventArgs e)
   at System.Windows.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
   at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName)
Code:  0
URL:  http://localhost:1166/xWEBIWeb/xWEBITestPage.aspx
Previous  Next 
++++++++++++++++++++++++++++++++++++++++++++++++++

No answers yet. Maybe you can help?

Asked by
Bichitra
Top achievements
Rank 1
Share this question
or