The Artima Developer Community
Sponsored Link

.NET Buzz Forum
How to pass the popup blocker

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Paschal

Posts: 1621
Nickname: bigapple
Registered: Nov, 2003

Paschal is a .Net developer
How to pass the popup blocker Posted: Dec 1, 2003 7:37 AM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Paschal.
Original Post: How to pass the popup blocker
Feed Title: help.net
Feed URL: http://www.asp.net/err404.htm?aspxerrorpath=/pleloup/Rss.aspx
Feed Description: .Net for mankind !
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Paschal
Latest Posts From help.net

Advertisement
Thanks to all the comments I received in this post. Of course  I give all my support to the popup blockers, but as I said, I would like to use a popup window in some specific cases, without bothering my users with some shortcuts like the Ctrl key.

Well I finally found the solution, and it works pretty well. What I tested is to use in the Login page a link button instead of a normal button.

In  the click event, after the user name and password is validated, I register a client side script to open the window.

In Javascript, the trick here is to declare the window, not just open it.

It seems that a Link button fire a slightly different Click event than a Button so it is not considered as a possible popup by Google, so that's why it works here.

That I suppose is an explanation, but if you know better ;-)

Read: How to pass the popup blocker

Topic: Concise preview of C# v.Next and related technologies Previous Topic   Next Topic Topic: Why default parameters are bad

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use