Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1013051
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T10:02:21+00:00 2026-05-16T10:02:21+00:00

Right now I have an asp:Wizard with 3 Steps. Create User Form to Email

  • 0

Right now I have an asp:Wizard with 3 Steps.

  1. Create User
  2. Form to Email
  3. Summary of Fields

When the finish button is clicked on the third step I would like to Create the user and send the form. I have the logic for this written but the only problem I have is the when the next button is pressed on a wizard, a PostBack occurs and my password field:

<asp:TextBox ID="txtPassword" TextMode="Password" Width="70%" runat="server" />

Does not retain its value.

What would you suggest would be the most secure and practical method for me to overcome this problem?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T10:02:22+00:00Added an answer on May 16, 2026 at 10:02 am

    I would probably develop a class representing the data that will be created by the wizard:

    public class WizardForm
    {
        public User NewUser {get;set;}
        public Form FormToEmail {get;set;}
    }
    

    Then on each step through the wizard I’d update this class and store it in session:

    WizardForm form = Session["WizardForm"] as WizardForm;
    if (form == null)
    {  
         form = new WizardForm();
         Session["WizardForm"] = form;
    }
    
    form.User.Password = txtPassword.Text; // etc
    

    Or you could just store the password in Session and retrieve it later:

    Session["WizardPassword"] = txtPassword.Text;
    string password = Session["WizardPassword"].ToString();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Basically, we have an ASP website right now that I'm converting to PHP. We're
I'm currently working on web application using VB in ASP.NET. Right now I have
I'm new to ASP.NET MVC so this could have an obvious answer. Right now
I have an ASP.NET app, very basic, but right now too much code to
Using Asp.net and jQuery I have a GridView with a CheckBox column. Right now
Right now I have simple form with a single input. I'm trying to use
Right now I have a static class called universe in my ASP.NET application. The
I have a simple create user wizard control and It's working pretty well upto
Coding Platform: ASP.NET C# Controls Used: asp:Wizard and asp:Button I have a asp:Wizard and
I have an asp.net web application and right now users can get there profiles

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.