How is avoid pop-ups blocker in Page?

Stimulsoft Reports.NET discussion
Post Reply
MARIMUTHU K
Posts: 101
Joined: Wed Jul 26, 2006 8:03 am
Location: CHENNAI-TN, INDIA

How is avoid pop-ups blocker in Page?

Post by MARIMUTHU K »

Hi Stimul Team,

Thanks for ur solution replay. Keep it up :kiss:

Now, We did render report and open separate page (ReportViewer use page) in Wep page using Javascritp openWindow().
But occur some pop-ups blocker.
How is avoid it? or other way of open New window in ReportViewer.

We are using open New window

private void OpenWindow(string scriptName, string url, string windowName, string windowFeature)
{
ClientScriptManager cs = Page.ClientScript;
StringBuilder strScript = new StringBuilder();
strScript.Append("");
strScript.Append("javascript:openWindow('" + url + "','" + windowName + "','" + windowFeature + "')");
strScript.Append("");

cs.RegisterClientScriptBlock(typeof(string), scriptName, strScript.ToString());
}

and use JavaScript



function openWindow(strUrl,windowName,size)
{
window.open(strUrl,windowName,size);
}




Please kindly provide solution in avoid pop-ups blocker.



Thanks in Advance,
Marimuthu K
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

How is avoid pop-ups blocker in Page?

Post by Edward »

The best known and the simplest method to prevent blocking of the pop up window is to add an URL of your page to the list of exceptions of the pop up blocker engine.

But there are a couple of other ideas, how to try to achieve the result you were writing about:

http://www.dotnet247.com/247reference/m ... 89989.aspx

http://forums.asp.net/t/982118.aspx

Thank you.
MARIMUTHU K
Posts: 101
Joined: Wed Jul 26, 2006 8:03 am
Location: CHENNAI-TN, INDIA

How is avoid pop-ups blocker in Page?

Post by MARIMUTHU K »

Thanks for Urgent Help.

Marimuthu K
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

How is avoid pop-ups blocker in Page?

Post by Edward »

Let us know if any help is required.

Thank you.
Post Reply