c# - asp:CreateUserWizard Redirecting After Complete -


i have asp registration page using custom asp:createuserwizard.

once registration completed (registeruser_createduser example) want redirect user page, welcome screen, etc... (using response.redirect(url); guess), want to, how, popup new window login page.

is possible popup screen external url using method, or there way should go it?

i did try creating custom button calls js function registration:

function redirectafterregister() {     page_clientvalidate();      if (page_isvalid) {         window.open('/account/login.aspx?usercreated=true');         $('#createuserbutton').click();     }      return false; } 

this popup works because called off click, problem popup called if creation of user unsuccessful - wrong.

any highly appreciated.

the problem popups work when user clicks in external sites. prevents spammers popping ads time. once function called after click considered unfriendly , therefore allowed externally.

i think best let user know registration successful , give them navigation options there. if anything, @ least user friendly way, without confusion.

the asp:completewizardstep can used redirect after successful registration, , provide navigation needed.

good luck, , let me know if find alternate solution.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -