This question is locked. New answers and comments are not allowed.
This happens on IE9, FF6, and Chome. The position of the window is in the correctly centered horizontally and is placed vertically in the right location. However, the browser scrolls to the top of the page after the window is displayed. I am reusing a single telerik window for multiple purposes (iframes).
function OpenImageWin(id, action)
{ $("#ImageWin .t-window-content").html("");
var window = $("#ImageWin").data("tWindow");
var url;
var windowElement = $('#ImageWin').data('tWindow').element;
switch (action)
{ case "Create":
url = '<iframe src="<%= Url.Action("Create", "Model" new { Id = ViewData["Id"]}) %>" frameborder="0" width="100%" height="100%" scrolling="no"></iframe>';
$(windowElement).find(".t-content").width(400).height(250);
break;
case "Edit":
url = '<iframe src="<%= Url.Action("Edit", "Model", new { Id = "xid" }) %>" frameborder="0" width="100%" height="100%" scrolling="no"></iframe>';
url = url.replace("xid", id)
$(windowElement).find(".t-content").width(800).height(600);
break;
case "Delete":
url = '<iframe src="<%= Url.Action("Delete", "Model", new { Id = "xid" }) %>" frameborder="0" width="100%" height="100%" scrolling="no"></iframe>';
url = url.replace("xid", id)
$(windowElement).find(".t-content").width(800).height(600);
break;
}
$("#ImageWin .t-window-content").html(url);
window.center().open();
}