Hi,
I was wondering if there is any way of setting the window size on page init and get that size on initial radwindow display? Not sure if that makes sense, so I will explain in detail.
I have numerous pages from where I open different radwindows. Up until now, I was specifying the size while creating an instance of it.
But, now, I dont want to specify height and width while opening, instead I want to specify in the radwindow page_init(). All radwindows are of different sizes. I tried to do this, but initially it shows a very small sized window and then resizes it. I dont want this resize event to occur.
Is there any way to do it?
Thanks,
~SP
I was wondering if there is any way of setting the window size on page init and get that size on initial radwindow display? Not sure if that makes sense, so I will explain in detail.
I have numerous pages from where I open different radwindows. Up until now, I was specifying the size while creating an instance of it.
/* Show new RAD window */ |
function ShowRADWindow(URL,Title,Width,Height,Modal,Behaviors) { |
var oWindow = window.radopen(URL, null); |
//Using the reference to the window its clientside methods can be called |
oWindow.SetSize (Width, Height); |
oWindow.SetTitle (Title); |
oWindow.set_modal(Modal); |
oWindow.setActive(true); |
oWindow.center(); |
if (Behaviors!=null && Behaviors!='') |
oWindow.set_behaviors(Behaviors); |
//PositionWindow(oWindow); |
} |
But, now, I dont want to specify height and width while opening, instead I want to specify in the radwindow page_init(). All radwindows are of different sizes. I tried to do this, but initially it shows a very small sized window and then resizes it. I dont want this resize event to occur.
Is there any way to do it?
Thanks,
~SP