Is it possible to change the window skin on opening a window using javascript such as below?
Thanks,
Dave
| function OpenRw(varPage, var1, var2) { |
| var oManager = GetRadWindowManager(); |
| var oWnd = oManager.GetWindowByName("pgRadWindow"); |
| if (!oWnd) return; |
| if (varPage == "1"){ |
| var newUrl = "Slideshows.aspx?id="+var1 ; |
| oWnd.SetSize(565,545); |
| oWnd.Skin = "Gray"; |
| } |
| oWnd.SetUrl(newUrl); |
| oWnd.Show(); |
| } |
Thanks,
Dave