I have this page that plays a video file and to show it modally I'm using RadWindow. RadWindow opens this page nice and good. The problem is, once the RadWindow is closed video part disappears but you can still hear the audio. This means RadWindow is still having the page opened in the memory. How can I make this content page close completely?
One more question; how I completely get rid of RadWindow's styling and display it with no borders and controls?
Apprecite you help. Thank you.
Jasdeep
One more question; how I completely get rid of RadWindow's styling and display it with no borders and controls?
Apprecite you help. Thank you.
Jasdeep
6 Answers, 1 is accepted
0
Hi Jasdeep,
Regarding your first question, I suggest to check the following blog post:
http://blogs.telerik.com/blogs/09-06-04/common_radwindow_issues_and_their_solution.aspx
As for your second one, you could use the VisibleStatusBar and VisibleTitleBar properties of the RadWindow to disable the title and status bars, however if you want to completely remove the borders, you should use either a custom skin or as an alternative - use a simple IFRAME (RadWindow is basically an iFRAME) object.
Regards,
Georgi Tunev
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.
Regarding your first question, I suggest to check the following blog post:
http://blogs.telerik.com/blogs/09-06-04/common_radwindow_issues_and_their_solution.aspx
As for your second one, you could use the VisibleStatusBar and VisibleTitleBar properties of the RadWindow to disable the title and status bars, however if you want to completely remove the borders, you should use either a custom skin or as an alternative - use a simple IFRAME (RadWindow is basically an iFRAME) object.
Regards,
Georgi Tunev
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.
0
Princy
Top achievements
Rank 2
answered on 22 Jun 2009, 06:22 AM
Hello Jasdeep,
You could use any one of the following approaches:
Option #1:
Try setting the DestroyOnClose property of RadWindow to "True".
Option #2:
Another option is using the OnClientClose eventhandler to change the RadWindow's content page to some other URL.
JavaScript:
Checkout the following forum link which discusses how to show radwindow without borders.
Window without border
Thanks,
Princy.
You could use any one of the following approaches:
Option #1:
Try setting the DestroyOnClose property of RadWindow to "True".
Option #2:
Another option is using the OnClientClose eventhandler to change the RadWindow's content page to some other URL.
JavaScript:
<script type="text/javascript"> |
function OnClientClose(oWnd) |
{ |
oWnd.setUrl("about:blank"); // Sets url to blank |
} |
</script> |
Checkout the following forum link which discusses how to show radwindow without borders.
Window without border
Thanks,
Princy.
0
HarryM
Top achievements
Rank 1
answered on 22 Jun 2009, 05:27 PM
Thank for your replies. You suggested solutions sort the 'video/audio still playing' problem pretty good.
For making the RadWindow completely boder and styleless though, I entered a skin the doesn't exist to its Skin property like 'XYZ' and made EnableEmbeddedSkins to false. This is working work out pretty good is all broswers. Please advise if this is not the right way for some reason I can't see right now.
For making the RadWindow completely boder and styleless though, I entered a skin the doesn't exist to its Skin property like 'XYZ' and made EnableEmbeddedSkins to false. This is working work out pretty good is all broswers. Please advise if this is not the right way for some reason I can't see right now.
0
Hi Jasdeep,
I would not recommend disabling the skin this way as it could lead to problems in some specific, complex scenarios. That is why I suggested either to use IFRAME or to use a custom skin where you have modified the look of the window control. Still if the current setup does not raise any problems, you could use it.
Best wishes,
Georgi Tunev
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.
I would not recommend disabling the skin this way as it could lead to problems in some specific, complex scenarios. That is why I suggested either to use IFRAME or to use a custom skin where you have modified the look of the window control. Still if the current setup does not raise any problems, you could use it.
Best wishes,
Georgi Tunev
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.
0
HarryM
Top achievements
Rank 1
answered on 24 Jun 2009, 05:12 PM
Georgi
Can you please show me some example code that shows use of IFRAME with RadWindow? This could be a basic thing to do but I'm not at a level figure that out yet.
Thank you.
Jasdeep
Can you please show me some example code that shows use of IFRAME with RadWindow? This could be a basic thing to do but I'm not at a level figure that out yet.
Thank you.
Jasdeep
0
Hello Jasdeep,
I am not quite sure what exactly you need - as I said before, RadWindow is basically a skinned, moveable IFRAME - e.g. whatever you could do with an IFRAME, you could do it with RadWindow as well.
Greetings,
Georgi Tunev
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.
I am not quite sure what exactly you need - as I said before, RadWindow is basically a skinned, moveable IFRAME - e.g. whatever you could do with an IFRAME, you could do it with RadWindow as well.
Greetings,
Georgi Tunev
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.