hi there,
i have read many blog posts and have tried several different things and am stuck.
I have a Radwindow which contains a YouTube video. When I close the window, the audio continues to play.
I read all the blog posts (http://blogs.telerik.com/blogs/posts/09-06-04/common-radwindow-issues-and-their-solution.aspx) and attempted to perform the same methodology.
Here is my code on the aspx page:
Within the same page I have the following script:
The function is being accessed, as I have put some alert("test") code in there to make sure but the video continues to play and I dont know if about:blank is being set correctly.
Any help is much appreciated.
i have read many blog posts and have tried several different things and am stuck.
I have a Radwindow which contains a YouTube video. When I close the window, the audio continues to play.
I read all the blog posts (http://blogs.telerik.com/blogs/posts/09-06-04/common-radwindow-issues-and-their-solution.aspx) and attempted to perform the same methodology.
Here is my code on the aspx page:
<telerik:RadWindow ID="rwOrgDetails" runat="server" Modal="true" Behaviors="Close,Move" ShowContentDuringLoad="False" AutoSize="true" AutoSizeBehaviors="Default" MinWidth="400px" Animation="FlyIn" KeepInScreenBounds="True" VisibleStatusbar="False" OnClientShow="re" DestroyOnClose="true" OnClientClose="OnClientClose" EnableViewState="False"> <ContentTemplate> <asb:organization ID="detailedView" runat="server" /> <div align="center" class="hiddenClose" style="display:none" > <telerik:RadButton ID="RadButton6" SkinID="Close" runat="server" OnClientClicking="cw"> </telerik:RadButton> </div> </ContentTemplate> </telerik:RadWindow>Within the same page I have the following script:
<telerik:RadScriptBlock ID="RadScriptBlock1" runat="server"><script type="text/javascript"> function OnClientClose(oWnd) { oWnd.setUrl("about:blank"); // Sets url to blank} </script> </telerik:RadScriptBlock>The function is being accessed, as I have put some alert("test") code in there to make sure but the video continues to play and I dont know if about:blank is being set correctly.
Any help is much appreciated.