Confirm issue

2 posts, 0 answers
  1. Eric Klein
    Eric Klein avatar
    183 posts
    Member since:
    Aug 2009

    Posted 16 Jul 2010 Link to this post

    I have the follwing code
    function openConfirmBox()  
      {  
          radconfirm('Did you save an Excel Spreadsheet?', confirmCallBackFn, 330, 100, null,'Confirm');              
      }  
        
    function confirmCallBackFn(arg)  
      {  
      alert(arg); 
      if (arg == true);
      {
              document.getElementById('<%= UpdateFailed.ClientID %>').click(); 
      }
       GetRadWindow().Close();   
     }  
    but for some reason requardless if arg is true or false it always runs the click event.

    What is wrong.
  2. Eric Klein
    Eric Klein avatar
    183 posts
    Member since:
    Aug 2009

    Posted 16 Jul 2010 Link to this post

    Never mind I saw it it was the ; after the if
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top