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

Silverlight inside of radwindow

4 Answers 46 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
V
Top achievements
Rank 1
V asked on 13 Oct 2010, 06:40 PM
I wasn't sure which forum to post this in, sorry if it's the wrong one.

I have a page which open a radwindow using javascript (oWnd = window.radopen("Page.aspx");)...

Inside the radwindow is a silverlight player. Everything works fine until I close the radwindow (by way of the "X" in the top right)..

The window seems to "close" (or rather the edges go dark)...however, the silverlight player stays displayed and I can still perform functions (click on a grid row, etc).

How do I completely close the radwindow and silverlight player when it's contained in a radwindow popup?

Thanks!
V

4 Answers, 1 is accepted

Sort by
0
Hristo
Telerik team
answered on 18 Oct 2010, 09:11 AM
Hi V,

We are aware about a issue with RadMediaPlayer  and RadWindow for Silverlight when used together. However the issue we know is different. That makes me ask the following question: are you using RadWindow for Silverlight or for ASP? Also can you provide us a simple project reproducing the issue?

Greetings,
Hristo
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
0
V
Top achievements
Rank 1
answered on 21 Oct 2010, 04:37 PM
Hi Hristo,

I'm using the ASP RadWindow. Basically, the RadWindow will not completely close when hosting a page with a Silverlight control in it.

The RadWindow stays open when you try to close it (it just gets a little "darker", but is still visible) and the Silverlight player stays completely open...I can still click things on the Silverlight player.

The RadWindow is just using the standard ways to close a RadWindow (OnClientClose(), etc.)...it's pretty simple really. The RadWindow is hosting a Silverlight control, and won't shut down when you click the "X" in the top right...

I'm sorry, my company does not allow me to upload files to any site, and I don't wanna paste an entire sample project's code in here!

Thanks so much for your help!
V
0
Tina Stancheva
Telerik team
answered on 22 Oct 2010, 01:55 PM
Hi V,

By default, RadWindow instances are cached to speed up response time after the first time they are shown. You can prevent this caching by setting the DestroyOnClose property to True. Can you try this and let us know if it solves the issue?

Best wishes,
Tina Stancheva
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
0
V
Top achievements
Rank 1
answered on 22 Oct 2010, 06:22 PM
I fixed this...

I didn't have all the necessary javascript to close the RadWindow in the page that hosts the Silverlight (the page inside the RadWindow).

A major oversight on my part...

Thanks for your help/suggestions!
V
Tags
General Discussions
Asked by
V
Top achievements
Rank 1
Answers by
Hristo
Telerik team
V
Top achievements
Rank 1
Tina Stancheva
Telerik team
Share this question
or