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 of this window, but I am unable to set the same.
I also tried calling a javascript function from code behind and writing the same in aspx page, but no luck.

I am posting my code:
From Code behind:

```
Page.ClientScript.RegisterStartupScript(typeof(string), scriptKey, "<script type='text/javascript'>window.open('../ReportWebForm.aspx?ReportType=Report','height=50,width=2000,left=0px,top=0px,resizable=yes,scrollbars=yes,toolbar=yes,status=yes');</script>");

```

if I launch from server by calling aspx page javascript:

```
 function OpenWindow() {
        window.parent.open('../ReportWebForm.aspx?ReportType=Report', 'width = 100%, height = 100%');
    }

```