Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Popup blocks second item on the menu
Message
 
 
À
05/12/2013 09:53:36
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01589333
Message ID:
01589344
Vues:
22
>>I have a weird situation. The Site.master page of my application has a pull-down menu at the top. The menu is built on Bootstrap CSS menu. Right now the first pull-down has 2 items. Each item is an anchor tag that opens a page. What happens is when I click on the second item, the IE 9 popup blocks opening the page (with the message "pop-ups were blockes on this page.. "). Even when I change the items of the menu, moving the first page anchor to the second place and so on, the second is always being blocked. Here is the segment of the menu code:
>>
>>
>><li class="dropdown">
>>     <a href="#" data-toggle="dropdown" class="dropdown-toggle">Features<b class="caret"></b></a>
>>      <ul class="dropdown-menu">
>>             <li><a id="A3" runat="server" href="~/Page1.aspx" target="_blank">Page 1 Feature</a></li>
>>             <li><a id="A2" runat="server" href="~/Page2.aspx" target="_blank">Page 2 Feature</a></li>
>>             <li><a href="#">Future</a></li>
>>             <li class="divider"></li>
>>             <li><a href="#">Future</a></li>
>>      </ul>
>> </li>
>>
>>
>>Why popup blocks just exactly the 2nd item of the menu?
>
>Weird. AFAIR popup blockers shouldn't kick in if the page is loaded as the result of user interaction (as in your case above).
>Don't know if it's relevant but :
>Which browser? Are you getting the same behaviour in different browsers ?
>Do either of those pages launch another pop-up automatically ?
>Do you get the same behaviour if the link goes to a simple, empty HTML page?

This happens when I start VS 2012 Debug in IE mode. I presume it uses my copy of IE (installed on this pc) which is IE 9.
When I Debug using Chrome I don't get this weird behavior.
I have not tried to test with a simple, empty HTML but since the weird behavior repeats on different ASPX pages - as long as the page is 2nd item of the menu - I didn't test it with a simple HTML page. But I can do it.
Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform