I have some windows opening in one of my apps. Everything works fine an then they want the window to present as longer than the screen which I have done but now I can not get the windows to open without going off the top of the screen. How can I set a KeepInScreenBounds in this case? These particular windows are called from javascript as follows:
If I set the Radwindowmanager to keepinscreenbounds it seems to make no difference in this case. When I open other windows server side this property seems to work fine. Probably a simple question but I can't seem to get it to work.
Thanks,
JC
function
ShowLoc3Form(id, rowIndex, title, thiscase, thisorder, code)
{
var
txtbox = $find(
"RadTextBox1"
);
txtbox.set_value(
""
);
var
grid = $find(
"<%= RadGrid1.ClientID %>"
);
var
rowControl = grid.get_masterTableView().get_dataItems()[rowIndex].get_element();
grid.get_masterTableView().selectItem(rowControl,
true
);
var
manager1 = GetRadWindow().get_windowManager();
manager1.open(
"addlocation3.aspx?d="
+ id +
"&c="
+ thiscase +
"&o="
+ thisorder +
"&r="
+ code +
"&m=n"
,
"RadWindow10"
);
var
window1 = manager1.getWindowByName(
"RadWindow10"
);
window1.setSize(880,1000);
window1.set_modal(
true
);
window1.set_title(title);
window1.set_visibleStatusbar(
false
);
return
false
;
}
If I set the Radwindowmanager to keepinscreenbounds it seems to make no difference in this case. When I open other windows server side this property seems to work fine. Probably a simple question but I can't seem to get it to work.
Thanks,
JC