J
Joe90
We have a treeview whose leaves represent reports. When a user selects a leaf
we validate and store serveral "Session" parameters and execute a client side
script to open a new browser to render the report thus;
Response.Write("<script>window.open(\"../WebReports/RepViewer.aspx\",\"_blank\",\"menubar=no,status=yes,resizable=yes\")</script>");
The original page has a fixed width and is setup to centre itself in the
browser using the CSS "margin: 0 auto;". When the script executes the
original page looses its margin setting and becomes left aligned, all other
formatting is untouched.
Does anyone have any ideas what's causing this and what the solution is ?
Thanks in advance.
we validate and store serveral "Session" parameters and execute a client side
script to open a new browser to render the report thus;
Response.Write("<script>window.open(\"../WebReports/RepViewer.aspx\",\"_blank\",\"menubar=no,status=yes,resizable=yes\")</script>");
The original page has a fixed width and is setup to centre itself in the
browser using the CSS "margin: 0 auto;". When the script executes the
original page looses its margin setting and becomes left aligned, all other
formatting is untouched.
Does anyone have any ideas what's causing this and what the solution is ?
Thanks in advance.