Hi,
I'm opening a radwindow from within a radwindow. I want to use some of the client side functionsm like, center(), set_modal(). But when I run it, the webpage throws error says these functions are undefined. I'm using the following code. Also, is there a way to set radwindow skin using client code.
Thanks!
I'm opening a radwindow from within a radwindow. I want to use some of the client side functionsm like, center(), set_modal(). But when I run it, the webpage throws error says these functions are undefined. I'm using the following code. Also, is there a way to set radwindow skin using client code.
Thanks!
01.function GetRadWindow() {02. var oWindow = null; if (window.radWindow)03. oWindow = window.radWindow; else if (window.frameElement.radWindow)04. oWindow = window.frameElement.radWindow; return oWindow;05. }06. 07. function openWinTest() {08. 09. //store the overflow 10. 11. bodyOverflow = document.body.style.overflow;12. 13. htmlOverflow = document.documentElement.style.overflow;14. 15. //hide the overflow 16. 17. document.body.style.overflow = "hidden";18. 19. document.documentElement.style.overflow = "hidden";20. 21. var oBrowserWnd = GetRadWindow().BrowserWindow;22. 23. 24. var url = "www.google.com"25. 26. oBrowserWnd.radopen(url, "", 1100, 620);27. oBrowserWnd.center()28. oBrowserWnd.set_modal(true);29. }