I cant set a radwindow active when I open it from another radwindow, this is the code I'm using:
It seem that the setActive and the SetVisible functions dont't work in this case...
| openSelectorWindow : function(ControlID,WindowUrl){ |
| var baseWnd = MyJsClass.GetRadWindow(); |
| if (baseWnd) { |
| var url = WindowUrl+'?WindowID='+baseWnd.get_name()+'&ControlID='+ControlID; |
| var oWnd = baseWnd.GetWindowManager().Open(url, ControlID); |
| oWnd.set_visible(); |
| oWnd.setActive(); |
| } |
| else{ |
| var url = WindowUrl+'?ControlID='+ControlID; |
| var oWnd = window.radopen(url, ControlID); |
| } |
| }, |
| GetRadWindow : function (){ |
| var oWindow = null; |
| if (window.radWindow) oWindow = window.radWindow; |
| else if (window.frameElement && window.frameElement.radWindow) oWindow = window.frameElement.radWindow; |
| return oWindow; |
| }, |
It seem that the setActive and the SetVisible functions dont't work in this case...