title: Confirm alert box in javascript and ASP.net like Hotmail
body: <p>i am trying to create a confirm box similar to Hotmail's Confirm box when we click on the Empty Folder in the Junk Mail folder.</p>
  
  <p>but i am unable to figure it's working and the logic behind it.</p>
  
  <p>i am using ASP.Net 2 in VS 2005 Pro.</p>
  
  <p>is there any special logic which goes behind the working of the confirm box like the one used in Hotmail, or a custom control. which works on the basis of button pressed or action taken like OK or Cancel.</p>
  
  <p>Looking for favorable replies.</p>