Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Client side script causing formatting problems

Thread Tools

Client side script causing formatting problems

Posts: n/a
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>\"../WebReports/RepViewer.aspx\",\"_blank\",\"menubar=no,status=ye s,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.
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
client side script causing an issue? Paul ASP .Net 0 02-04-2009 06:34 PM
Client side script after client side validation with 2.0 Boss302 ASP .Net 0 11-21-2006 08:43 AM
2 Divs side-by-side causing me grief Yobbo ASP General 3 11-12-2006 08:38 AM
Server-side script with input parameter from Client-side script Magnus Blomberg ASP .Net 3 04-14-2005 12:21 PM
Help Needed!!! client-side script, server-side code Shawn Mehaffie ASP .Net 4 01-22-2004 05:02 AM