Silverlight inside of radwindow

5 posts, 0 answers
  1. V
    V avatar
    9 posts
    Member since:
    Jun 2010

    Posted 13 Oct 2010 Link to this post

    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
  2. Hristo
    Admin
    Hristo avatar
    352 posts

    Posted 18 Oct 2010 Link to this post

    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
  3. V
    V avatar
    9 posts
    Member since:
    Jun 2010

    Posted 21 Oct 2010 Link to this post

    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
  4. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3299 posts

    Posted 22 Oct 2010 Link to this post

    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
  5. V
    V avatar
    9 posts
    Member since:
    Jun 2010

    Posted 22 Oct 2010 Link to this post

    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
Back to Top