Window.showModalDialog create cookie popup window on IE


#1

hi

when i create a new popup window with “window.showModalDialog”

on IE i got a popup window on cookie for several times,

i tried to cancel the cookie throw the script and it is not working,

by :

// Add this line before the trackPageView() call
_paq.push([‘disableCookies’]);
_paq.push([‘trackPageView’]);

the popup window is still shown ?

can you help me to solve this issue with the popup cookie window?

see attached screen shot,


(Matthieu Aubry) #2

Can you please post the full code to reproduce this error? which version of IE are you using?


#3

see attached screenshot for the diffrent IE versions’
the page code :
<%@ Register TagPrefix=“uc1” TagName=“ButtonUC” Src="…/…/UserControls/ButtonUC.ascx" %>
<%@ Page language=“c#” Codebehind=“frmPreResumeSendWarning.aspx.cs” AutoEventWireup=“false” Inherits=“Taldor.Taasuka.Site.frmPreResumeSendWarning” %>

שליחת קורות חיים
		<!--<script type="text/javascript">
		var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
		document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
		</script>
		<script type="text/javascript">
		try 
		{
			var pageTracker = _gat._getTracker("UA-8059562-1");
			pageTracker._trackPageview();
		}
		catch(err) {}
		</script>			
		-->
</HEAD>
<body MS_POSITIONING="GridLayout" dir="rtl" aonload="HandleErrorMessage();" aclass="TabsBackGround" class="PopupBackGround">
	<form id="frm" method="post" runat="server">
		<input type="hidden" id="hdnLanguagePath" runat="server" NAME="hdnLanguagePath">
		<div id="MessageBody" align="center">
			<table aheight="100%" border="0" cellpadding="0" cellspacing="0" align="center">
				<tr>
					<td height="20"></td>
				</tr>
				<tr>
					<td class="MessageWindowText" align="center" runat="server" id="MessageLocation"> להלן 
							קו"ח שלך כפי שהם מופיעים במערכת שלנו.
							<br>
							<br><b>
							מומלץ לוודא שהם עדכניים ושכתובת הדוא"ל שלך מצוינת בהם.</b>
							
					</td>
				</tr>
				<tr>
					<td height="20"></td>
				</tr>
				<tr>
					<td align="center">
						<table cellpadding="0" cellspacing="0" border="0">
							<tr>
								<td><input class="ButtonLarge" runat="server" type="button" id="btnUpdateDetails" value="עדכון קורות חיים"
										onclick="ReturnPressedButton(BTN_UPDATE_DETAILS)" NAME="btnUpdateDetails"></td>
								<td width="10"></td>
								<td><input class="ButtonLarge" runat="server" type="button" id="btnSendResume" value="שליחת קורות חיים"
										onclick="ReturnPressedButton(BTN_SEND_RESUME)" NAME="btnSendResume"></td>
								<td width="10"></td>
								<td><input class="Button80" runat="server" type="button" id="btnCancel" value="ביטול" onclick="ReturnPressedButton(BTN_CANCEL)"
										NAME="btnCancel"></td>
							</tr>
						</table>
					</td>
				</tr>
				<!--tr>
					<td height="20"></td>
				</tr-->
				<tr valign="top">
					<td >
						<FIELDSET class="FieldSetBorder" height="370px">
							<LEGEND class="FieldsetTitle" >קורות חיים</LEGEND>
							<div id="divCV" runat="server" style="width=100%;height:370px;background-color:white">
								<TABLE cellSpacing="0" cellPadding="0" border="0">
									<tr>
										<td height="20px"></td>
									</tr>
									<tr>
										<td><asp:Label id="lblEmployeeCV" Runat="server" Height="350px"></asp:Label></td>
									</tr>
									<tr>
										<td>
											<iframe id="ifrmResumeDoc" runat="server" aheight="100%" awidth="100%"></iframe>
										</td>
									</tr>
								</TABLE>
							</div>
						</FIELDSET>
					</td>
				</tr>
			</table>
	</form>
</body>