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

BringToFront() Error

1 Answer 46 Views
Window
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 08 May 2009, 09:39 PM
I have an application with several RadWindows, and when I click on something in one, I want another one (currently behind the first) to appear in front of it. I've tried using BringToFront(), but it gives me this error:

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

I thought this would be pretty straight-forward. Does anyone have any suggestions?

1 Answer, 1 is accepted

Sort by
0
Konstantin Petkov
Telerik team
answered on 11 May 2009, 06:51 AM
Hi Mark,

Have you tried showing the second window via window.Show()? By default the last opened window is displayed on top of the others:

http://demos.telerik.com/silverlight/#Window/Ordering

You can also check this thread discussing the error. Hope this helps!

All the best,
Konstantin Petkov
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.
Tags
Window
Asked by
Mark
Top achievements
Rank 1
Answers by
Konstantin Petkov
Telerik team
Share this question
or