Hi, I have a radwindowmanager with the following properties set.
ClientIDMode="Static"
ID="YearEndWindows"
Width="1000"
Height="600"
VisibleStatusbar="false"
Behaviors="Close,Move,Resize"
runat="server"
OnClientClose="onClientClose"
DestroyOnClose="true"
Modal="true"
ShowContentDuringLoad="false"
I have two buttons that use this to open a window. If I click a button and open the first window, all is good. If I click the second button and try to use javascript to change the height/width, the window still opens 1000x600 even though it was changed thru code. Is there an issue or am I using this wrong?
JavaScript:
var manager = $find(managerName);
if (fullscreenMode) { //Boolean I pass in to change the default 1000x600 setting
manager.setSize(1920, 1075);
}
manager.open(url, null); //url is populated
Also if I change the code to this:
manager.open(getUrl(url), null, 300, 300);
I get a javascript error complainging about 'getElementsByTagName'.
Any ideas? Thanks.