Content still plays in pop up window after closing

2 posts, 0 answers
  1. Andy Green
    Andy Green avatar
    342 posts
    Member since:
    Aug 2008

    Posted 20 Mar 2015 Link to this post

    Hi

    Not necessarily a problem with the control, just asking if this problem has a solution.

    I have a Radwindow that pops up modally and plays a YouTube video, trouble is when I close the window the content continues playing.

    Can this be prevented?

    Andy
  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3595 posts

    Posted 20 Mar 2015 Link to this post

    Hello Andy,

    The following article explains how to tackle this: http://www.telerik.com/help/aspnet-ajax/window-troubleshooting-common.html.

    To add to the list of ideas - if you have an API to call to pause the player (instead of destroying the page/RadWindow), you can do that in the OnClientClose event instead. In case you are using a content page, you can call a function in it, as shown in this article: http://www.telerik.com/help/aspnet-ajax/window-programming-calling-functions.html.

    Regards,

    Marin Bratanov
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top