Good Afternoon
I'm using a RadWindowManager to open several popup windows. For this, I use javascripts functions to open new URLs of the aspx pages. Following an example:
function openRadWindowContact(contactid, action) {
var rwManager = GetRadWindowManager();
rwManager.SetWidth(200);
rwManager.SetHeight(200);
var oWnd = radopen("../ContactDetail.aspx?ContactID=" + contactid + "&Operation=" + action, "Contact Detail");
oWnd.center();
}
Of course not all of the aspx files require the same width/height. The first time I open a popup it is presented with correct sizes, but the next popup is presented with the same Height and Width as the previous one.
I use a custom javascript function to open each of the different popup windows I need, and I am trying to use .SetWidth & .SetHeight values to 200 (small square that would be resized according to the content of the page)....but it seems not to be working, actually the .SetWidth & .SetHeight properties are working only after a postback (I can tell this cause I'm using the property ShowContentDuringLoad="false" on RadWindowManager and it takes that small size while showing the loading gif).
Is there a way to make RadWindowManager to handle correctly the sizes for each of the windows I'm opening?
Thanks in advance for your help!
Oscar
I'm using a RadWindowManager to open several popup windows. For this, I use javascripts functions to open new URLs of the aspx pages. Following an example:
function openRadWindowContact(contactid, action) {
var rwManager = GetRadWindowManager();
rwManager.SetWidth(200);
rwManager.SetHeight(200);
var oWnd = radopen("../ContactDetail.aspx?ContactID=" + contactid + "&Operation=" + action, "Contact Detail");
oWnd.center();
}
Of course not all of the aspx files require the same width/height. The first time I open a popup it is presented with correct sizes, but the next popup is presented with the same Height and Width as the previous one.
I use a custom javascript function to open each of the different popup windows I need, and I am trying to use .SetWidth & .SetHeight values to 200 (small square that would be resized according to the content of the page)....but it seems not to be working, actually the .SetWidth & .SetHeight properties are working only after a postback (I can tell this cause I'm using the property ShowContentDuringLoad="false" on RadWindowManager and it takes that small size while showing the loading gif).
Is there a way to make RadWindowManager to handle correctly the sizes for each of the windows I'm opening?
Thanks in advance for your help!
Oscar