Window Sample crashes when trying to view from samples.

2 posts, 0 answers
  1. Rajesh
    Rajesh avatar
    20 posts
    Member since:
    Jun 2009

    Posted 14 Jul 2009 Link to this post

    Hi,

    I downloaded the Q2 version of WPF Controls and installed the same. When trying to view the samples for window the application crashes. I am attaching the  stacktrace. Do let me know how can this be viewed without throwing any error. 

    ---------------------------
    Fatal error!
    ---------------------------
    Error message: Value does not fall within the expected range.

    StackTrace:    at System.StubHelpers.ObjectMarshaler.ConvertToNative(Object objSrc, IntPtr pDstVariant)

       at MS.Internal.Automation.UiaCoreProviderApi.RawUiaRaiseAutomationPropertyChangedEvent(IRawElementProviderSimple provider, Int32 id, Object oldValue, Object newValue)

       at System.Windows.Automation.Provider.AutomationInteropProvider.RaiseAutomationPropertyChangedEvent(IRawElementProviderSimple element, AutomationPropertyChangedEventArgs e)

       at System.Windows.Automation.Peers.AutomationPeer.RaisePropertyChangedEvent(AutomationProperty property, Object oldValue, Object newValue)

       at Telerik.Windows.Controls.RadWindow.OnLeftChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) in c:\Builds\WPF_Scrum\Navigation_WPF\Sources\Development\Controls\Navigation\Window\RadWindow.cs:line 1576

       at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)

       at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)

       at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)

       at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, OperationType operationType)

       at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, OperationType operationType, Boolean isInternal)

       at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)

       at Telerik.Windows.Controls.RadWindowPopup.WindowPopupWindowFactory.WindowPopupWindowImpl.PositionWindow() in c:\Builds\WPF_Scrum\Navigation_WPF\Sources\Development\Controls\Navigation\Window\WindowPopup\WindowPopupWindowImpl.cs:line 201

       at Telerik.Windows.Controls.RadWindowPopup.WindowPopupWindowFactory.WindowPopupWindowImpl.OnWindowLoaded(Object sender, EventArgs args) in c:\Builds\WPF_Scrum\Navigation_WPF\Sources\Development\Controls\Navigation\Window\WindowPopup\WindowPopupWindowImpl.cs:line 116

       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)

       at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)

       at MS.Internal.FrameworkObject.OnLoaded(RoutedEventArgs args)

       at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)

       at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)

       at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()

       at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()

       at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)

       at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)

       at System.Windows.Media.MediaContext.Resize(ICompositionTarget resizedCompositionTarget)

       at System.Windows.Interop.HwndTarget.OnResize()

       at System.Windows.Interop.HwndTarget.HandleMessage(Int32 msg, IntPtr wparam, IntPtr lparam)

       at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

       at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

       at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)

       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)

       at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)

     

    ---------------------------
    OK  
    ---------------------------

    Regards,

    M. Rajesh.

  2. Boyan
    Admin
    Boyan avatar
    758 posts

    Posted 16 Jul 2009 Link to this post

    Hi Rajesh,

    I tried to reproduce the issue but with no luck. Here everything is working fine. I have few questions that can help me reproduce the issue.
    1. Does this error shows on a specific example or all of them.
    2. Can you browse our RadWindow examples online?
    3. Are you starting the Telerik.Windows.Examples.exe  or build and run the Examples project, VB or C#.

    You can share any other information that can be useful.

    Greetings,
    Boyan
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top