A new window can be opened by calling the following javascript on click of a button or link button.
var url = “<url of the new aspx page to open as a window>”;
var windowName = “<Name of the window>”;
var windowHeight = <Window Height>;
var windowWidth = <Window Width>;
var popupWindow = window.open(url, windowName,'toolbar=No,status=Yes,location=No,menubar=No,resizable=Yes,scrollbars=No,height=' + windowHeight + ',width=' + windowWidth + ',top=30,left=30');
popupWindow.focus();
No comments:
Post a Comment