Community & Support
Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > Window > Window Error

Not answered Window Error

Feed from this thread
  • Scott Rakestraw avatar

    Posted on Dec 4, 2009 (permalink)

    I have a user control with a radwindow on it.  In the content of that window is a button named btnSave.  On my page that is the parent of the user control I also have a button named btnSave.  I get the following error.  Shouldn't the usercontrol be it's own name scope?

    Microsoft JScript runtime error: Unhandled Error in Silverlight 3 Application Value does not fall within the expected range.   at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
       at MS.Internal.XcpImports.Collection_InsertValue[T](PresentationFrameworkCollection`1 collection, UInt32 index, CValue value)
       at MS.Internal.XcpImports.Collection_InsertDependencyObject[T](PresentationFrameworkCollection`1 collection, UInt32 index, DependencyObject value)
       at System.Windows.PresentationFrameworkCollection`1.InsertDependencyObject(Int32 index, DependencyObject value)
       at System.Windows.Controls.UIElementCollection.InsertInternal(Int32 index, UIElement value)
       at System.Windows.PresentationFrameworkCollection`1.Insert(Int32 index, T value)
       at Telerik.Windows.Controls.HACKS.AttachPopupToVisualTree(Popup popup)
       at Telerik.Windows.Controls.PopupManager.Open(Popup popup, Boolean attachToVisualRoot)
       at Telerik.Windows.Controls.PopupManager.OpenWindow(Popup popup, Boolean attachToVisualRoot)
       at Telerik.Windows.Controls.PopupManager.Open(Popup popup, PopupType type, Boolean attachToVisualRoot)
       at Telerik.Windows.Controls.PopupManager.Open(Popup popup, PopupType type)
       at Telerik.Windows.Controls.RadWindowPopup.WindowPopupSilverlightFactory.WindowPopupSilverlightImpl.Show()
       at Telerik.Windows.Controls.RadWindowPopup.WindowPopupSilverlightFactory.WindowPopupSilverlightImpl.OpenPopup()
       at Telerik.Windows.Controls.RadWindowPopup.WindowPopup.Open(Boolean isModal)
       at Telerik.Windows.Controls.RadWindow.ShowWindow(Boolean modal)
       at Telerik.Windows.Controls.RadWindow.ShowDialog()
       at Silverlight.UQube.AddListItem.Show()
       at Silverlight.UQube.MediaPlan.menuLists_ItemClick(Object sender, RadRoutedEventArgs e)
       at Telerik.Windows.Controls.MenuBase.OnItemClick(RadRoutedEventArgs args)
       at Telerik.Windows.Controls.MenuBase.OnItemClick(Object sender, RadRoutedEventArgs args)
       at Telerik.Windows.RadRoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
       at Telerik.Windows.RadRoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       at Telerik.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RadRoutedEventArgs routedEventArgs)
       at Telerik.Windows.RouteItem.InvokeHandler(RadRoutedEventArgs routedEventArgs)
       at Telerik.Windows.EventRoute.InvokeHandlersImpl(Object source, RadRoutedEventArgs args, Boolean raisedAgain)
       at Telerik.Windows.EventRoute.InvokeHandlers(Object source, RadRoutedEventArgs args)
       at Telerik.Windows.RadRoutedEventHelper.RaiseEvent(DependencyObject element, RadRoutedEventArgs args)
       at Telerik.Windows.DependencyObjectExtensions.RaiseEvent(DependencyObject element, RadRoutedEventArgs e)
       at Telerik.Windows.Controls.RadMenuItem.OnClickImpl()
       at Telerik.Windows.Controls.RadMenuItem.OnClick()
       at Telerik.Windows.Controls.RadMenuItem.ClickItem()
       at Telerik.Windows.Controls.RadMenuItem.HandleMouseUp()
       at Telerik.Windows.Controls.RadMenuItem.OnMouseLeftButtonUp(MouseButtonEventArgs e)
       at System.Windows.Controls.Control.OnMouseLeftButtonUp(Control ctrl, EventArgs e)
       at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName)

    Reply

  • Konstantina Konstantina admin's avatar

    Posted on Dec 10, 2009 (permalink)

    Hello Scott,

    We will be glad to assist you further, but we will need some more information. Please open a support ticket and send us a sample running project to test it locally. Thus, we will be able to provide more to-the-point reply.

    Kind regards,

    Konstantina
    the Telerik team


    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.

    Reply

  • Q1 Webinar Week

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > Window > Window Error
Related resources for "Window Error"

Silverlight Window Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]