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

  • SEARCH
  • Home
  • 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 8749953
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T12:46:48+00:00 2026-06-13T12:46:48+00:00

I have createuserwizard control which has 4 steps. When some parameters exists in qeurystring,

  • 0

I have createuserwizard control which has 4 steps. When some parameters exists in qeurystring, I want to set them for contols in step 0 and then set activeindex to next step. I do it like this:

 if (!Page.IsPostBack)
        {
            if (!String.IsNullOrEmpty(Request["from"]) && !String.IsNullOrEmpty(Request["to"]) && !String.IsNullOrEmpty(Request["seek"]) && !String.IsNullOrEmpty(Request["livein"]))
            {
                ((DropDownList)RegisterUser.WizardSteps[0].FindControl("ddlGender")).SelectedValue = Request["seek"];
                ((TextBox)RegisterUser.WizardSteps[0].FindControl("txtAgeFrom")).Text = Request["from"];
                ((TextBox)RegisterUser.WizardSteps[0].FindControl("txtAgeTo")).Text = Request["to"];
                ((DropDownList)RegisterUser.WizardSteps[0].FindControl("ddlLive")).SelectedValue = Request["livein"];

                RegisterUser.ActiveStepIndex = 1;
            }
        }

This works and set current step to correct step but the problem is “Previous” button does not work and it does not go to step 0.

  • 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-06-13T12:46:48+00:00Added an answer on June 13, 2026 at 12:46 pm

    When the Previous button is clicked on the Wizzard control in ASP.NET there are two events which fire, in this order:

    1) PreviousButtonClick

    2) ActiveStepChanged

    My suggestion is – put break points in these two events and make sure both are executed when you click Previous.

    Additionally, if you have any code inside the two event handlers which I’ve just mentioned make sure that they do not reset the ActiveStepIndex

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an ASP.net Login Control which has a link to CreateUserWizard page(register). When
I have a createuserwizard and a login control on a page. both of them
I have a create_account.aspx page with a CreateUserWizard control on it. It has the
I have created 2 steps in the createuserwizard. 1st step is for user to
Have deployed numerous report parts which reference the same view however one of them
I'm using a CreateUserWizard control and I want to customize it to meet my
I have a custom CreateUserWizard in which the user gives his email as username.
I have created a user by using CreateUserWizard - control. My web.config file is
I have created a user using the built-in CreateUserWizard - control. I can now
In CreateUserWizard I have set: DisableCreatedUser=True LoginCreatedUser=False but the user is logged on after

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.