Radwindow bombs when using combobox or listbox

4 posts, 0 answers
  1. Tolga
    Tolga avatar
    28 posts
    Member since:
    Jun 2007

    Posted 12 May 2009 Link to this post

    I have a Radwindows using a RadCombobox. Just clicking on the combo causes a fatal error here is the error code...

    Webpage error details

    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.21022; .NET CLR 3.5.30729; .NET CLR 3.0.30618; InfoPath.2)
    Timestamp: Tue, 12 May 2009 18:28:13 UTC

    Message: 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.PopupWrapper.GenerateClippingRegion()
       at Telerik.Windows.Controls.PopupWrapper.ShowPopup()
       at Telerik.Windows.Controls.RadComboBox.OnIsDropDownOpenChanged(Boolean oldValue, Boolean newValue)
       at Telerik.Windows.Controls.RadComboBox.OnIsDropDownOpenChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
       at Telerik.Windows.PropertyMetadata.<>c__DisplayClass1.<Create>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.RadComboBox.set_IsDropDownOpen(Boolean value)
       at Telerik.Windows.Controls.RadComboBox.DropDownButtonClick(Object sender, RoutedEventArgs e)
       at System.Windows.Controls.Primitives.ButtonBase.OnClick()
       at System.Windows.Controls.Primitives.ToggleButton.OnClick()
       at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonDown(MouseButtonEventArgs e)
       at System.Windows.Controls.Control.OnMouseLeftButtonDown(Control ctrl, EventArgs e)
       at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName)
    Line: 453
    Char: 17
    Code: 0
    URI: http://localhost:1000/DesignDBv3_Web/ScriptResource.axd?d=LYH1VbxcqgAwtFqPxnsQfMtxRRvaV00dRscEZE7WMnZX0wRGiCEhNk-vsmVnYTk8bLk4b9r9akNXxeFC_myi9Q2&t=6223f9b0


  2. Valeri Hristov
    Valeri Hristov avatar
    2252 posts

    Posted 13 May 2009 Link to this post

    Hi Tolga,

    Try opening RadWindow in the Page.Loaded event, instead of the page constructor. This usually fixes the problem:

    public partial class SilverlightControl1 : UserControl
     public SilverlightControl1()

      this.Loaded += new RoutedEventHandler(SilverlightControl1_Loaded);
      // window1.Show();

     void SilverlightControl1_Loaded(object sender, RoutedEventArgs e)

    If this does not help, please, open a new support ticket and send us a simple application that can be used to reproduce the problem and we will respond with a solution as soon as possible.


    Valeri Hristov
    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. david
    david avatar
    25 posts
    Member since:
    Oct 2008

    Posted 08 Jul 2009 Link to this post

    I have the same error, when I try to open a RadWindow with a usercontrol

    on the Page I load a user control with a button, the button will open a RadWindow with
    a usercontrol that contains a combobox.
    When the window is opened and I click the combobox the error occurs

    I'm using the latest version of the silverlight controls

  4. Hristo Borisov
    Hristo Borisov avatar
    298 posts

    Posted 08 Jul 2009 Link to this post

    Hi David,

    Would you send us a code snippet that demonstrates the issue as we are not able to face this problem in our test case scenarios. Thank you for contacting us, and we look forward to receiving a sample project in which we can investigate your issue.

    Hristo Borisov
    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.
Back to Top