This is a migrated thread and some comments may be shown as answers.

Error HRESULT E_FAIL has been returned from a call to a COM component.

1 Answer 142 Views
Window
This is a migrated thread and some comments may be shown as answers.
Anan
Top achievements
Rank 1
Anan asked on 13 Jul 2010, 08:31 PM
Hello

I have a combo box. When selection is changed , i show a confirmation box. I use radwindow for this. The combo box resides on page. In the page load, i populate the combo box making a service call. If the page has an item selected, i would set it. When i set it, it would fire selectionchanged and confirmation box. When the confirmation box appears, it blows up

System.Exception: Error HRESULT E_FAIL has been returned from a call to a COM component.
   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 Telerik.Windows.Controls.RadWindow.ConfigureModal(RadAlert content, DialogParameters dialogParams)
   at Telerik.Windows.Controls.RadWindow.Confirm(DialogParameters dialogParameters)

This happens only the first time the page is loaded. When i dont make service call to populate, it works fine.

Thanks

1 Answer, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 14 Jul 2010, 09:59 AM
Hello Anan,

Thank you for contacting us.

We are aware of this issue and we will do our best to provide a fix as soon as possible.
Sorry for the inconvenience caused.

If you have any other concerns about our controls please feel free to contact us again.

Sincerely yours,
Konstantina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Window
Asked by
Anan
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Share this question
or