title: asp:CreateUserWizard Redirecting After Complete
body: <p>I have an asp registration page using a custom asp:CreateUserWizard.</p>
  
  <p>Once the registration is completed successfully (RegisterUser_CreatedUser for example) I want to redirect the user to another page, be it a welcome screen, etc... (using <code>Response.Redirect(URL);</code> I guess), but I also want to, some how, popup a new window with the login page.</p>
  
  <p>Is it possible to popup a screen from an external url using this method, or is there another way I should go about it?</p>
  
  <p>I did try creating a custom button which calls this js function for registration:</p>
  
  <pre class="lang-js prettyprint-override"><code>function redirectAfterRegister() {
      Page_ClientValidate();
  
      if (Page_IsValid) {
          window.open('/Account/Login.aspx?UserCreated=True');
          $('#CreateUserButton').click();
      }
  
      return false;
  }
  </code></pre>
  
  <p>This popup works because its called off a click, but the problem with this is the popup is always called even if the creation of the user was unsuccessful - which is wrong.</p>
  
  <p>Any help is highly appreciated.</p>