How to cancel modal popup with timer in asp.net 2010
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend3days leftRegister
Umesh Kumar126 reputationPosted May 14, 2014, 4:57 AM EDT
alt="" coords="127, 22, 20" alt="" title="click here" href="includes/popup1.htm" onclick="openWindow()" shape="circle" /> function openWindow(){ var win = window.open('includes/popup1.htm', '1366002941508', 'width=500,height=200,left=375,top=330'); setTimeout(function(){ win.close() }, 3000); return false; }Umesh Kumar126 reputationPosted May 14, 2014, 4:58 AM EDT
If your ModalPopup is in the UpdatePanel, please try taking it out. For instance,
PopupControlID="Panel1"
runat="server">
.........................