How To Set Height And Width Of A New Window From Code Behind
I have been trying this from hours that I am opening a new window and I am bound to launch from code behind so it is not opening in new tab. I want to adjust the height and width o
Solution 1:
Try this
note 2nd parameter is name of window. the height and width you need to give in 3rd parameter
functionOpenWindow() {
window.open('../ReportWebForm.aspx?ReportType=Report','', 'width = 100, height = 100');
}
Post a Comment for "How To Set Height And Width Of A New Window From Code Behind"