pamwestphal
asked on
Can you set background color in window.open?
Is it possible to do something like this from code behind?:
Response.Write("<script>my window = window.open('" + script + "'); myWindow.document.bgColor= '" + color1 + "'</script>")
When I open an excel spreadsheet, it takes awhile and the background is transparent initially. It looks odd. Thank you for any ideas you might have.
Response.Write("<script>my
When I open an excel spreadsheet, it takes awhile and the background is transparent initially. It looks odd. Thank you for any ideas you might have.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Do you mean you're opening an Excel sheet on window.open doc? If yes then have it on the DIV with an initial back color.