Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Popups after postbacks

Status
Not open for further replies.

SBGibson

Programmer
Apr 18, 2001
125
IT
Hi guys,
I asked in another forum and I've been redirected here.
I need to open e popup to show an attached document that the user have selected. The problem it that I need to perform some check before opening that document so I placed a button that on postback, after some operation, writes a window.open to show the document.
The problem is that popup blocking systems blocks this popup and even if I say to my users to allow popups there a problem on IE7 (and also IE6 with some update) that, if this popup contains a document like a word or pdf it doesn't block but suddenly close it due to some protection control. Reducing security level to "medium low" solves the problem but for a portal user it's an annoying thing.
There's a "best practice" to avoid this block programmatically?

Stevie B. Gibson
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top