New Message on dotNET User Group Hyd

POP_UP BLOCKED - TO OPEN new window in asp.net

Reply
  Reply to Sender   Recommend Message 1 in Discussion
From: kumaranmuthu

Hai Everyone

In my ASP.NET Web application,

I am opening my report in a new window using _javascript_ in codebehind.

This my code :
****************************************************
Dim strScript As String = "<script language=_javascript_>"
strScript +=
"_javascript_:my_window=window.open('StudentAttendanceExport.aspx?Sid=" +
CStr(sessid) + "&Cid=" + CStr(csid) + "' ,'my_window');my_window.focus();"
strScript += "</script>"

If (Not IsStartupScriptRegistered("clientScript")) Then
Page.RegisterStartupScript("clientScript", strScript)
End If

***********************************

But i am getting the following problem.

In IE 6.0 the Report window does not open (since Pop-Ups are blocked in
XP ) unless you press Ctrl. Is it possible to open the window not as a
Pop-Up but as a new browser window so that the user does not have to press
Ctrl to open the report.

Also you can install google toobar that has the pop-up blocker installed to
simulate this.

i want to open in their own window without the user having to press
CTRL-Click.

Please need help very urgent

with regards
kumar.m
frontpoint systems

_________________________________________________________________
Movies, music, celeb news. Stay in the loop. http://www.msn.co.in/cinema/
With MSN Entertainment!


View other groups in this category.

baazee.com

Also on MSN:
Start Chatting | Listen to Music | House & Home | Try Online Dating | Daily Horoscopes

To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings.

Need help? If you've forgotten your password, please go to Passport Member Services.
For other questions or feedback, go to our Contact Us page.

If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list.
Remove my e-mail address from dotNET User Group Hyd.

Reply via email to