I know how to do a pop-up in ASP.Net. For example, user clicks on a button, the pop-up pops, asks a question, user clicks "ok" or "cancel" and the code captures the result (ok or cancel).<BR><BR> But this is what I want to do:<BR>User clicks on a button.<BR>Pop-up pops and user clicks ok.<BR>code does some processing and returns value of True<BR> If value is true, pop another pop-up dialog and ask user if they want to continue <BR><BR>How can I do the second pop-up?? <BR><BR> I have found some examples like the one in this link but this is when user clicks on something<BR> http://riderdesign.com/articles/displayarticle.aspx?articleid=13Basically, this is what i want to do...<BR><BR>Click button from Page A<BR>Pops up Page B<BR>Click yes on Page B<BR>pop-up closes, call flow is returned to the server (post-back) and process some stuff<BR><BR> redisplay Page A, with javascript in the onload event or something <BR><BR>-- I want to do the second pop-up but there's no button to click, so i cant use the "onclick" event..That pops up a pop-up but then the code continues. The pop-up doesnt wait for the user's input.<BR><BR>IF whatever Then<BR><BR> Dim popupScript As String = "<script language='javascript'>" & _<BR> "window.open('something.aspx', 'CustomPopUp', " & _<BR> "'width=200, height=200, menubar=no, resizable=no')" & _<BR> "</script>"<BR><BR> Page.RegisterStartupScript("PopupScript", popupScript)<BR><BR>ELSE<BR>...