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 8290825
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T12:55:27+00:00 2026-06-08T12:55:27+00:00

I have an asp:Wizard in my Webforms application: <WizardSteps> <asp:WizardStep ID=WizardStep1 runat=server StepType=Start Title=a>

  • 0

I have an asp:Wizard in my Webforms application:

<WizardSteps>
    <asp:WizardStep ID="WizardStep1" runat="server" StepType="Start" Title="a">  
        <asp:TextBox ID="TextBox1" runat="server" Enabled="True"></asp:TextBox>
    </asp:WizardStep>
    <asp:WizardStep ID="WizardStep2" runat="server" StepType="Complete" Title="b">  
    </asp:WizardStep>
</WizardSteps>

Now i want to access in the next step a value the user has entered in the TextBox1. In

Wizard1_NextButtonClick

i have access to the TextBox1.text, but the value the user entered is not in the text property. There is still the initial value? How can i access the value the user has entered? Viewstate of Wizard and Wizardsteps are enabled.


solution:
My fault was, that i set the TextBox1.Text on every Page_Load again to initial value. I didn’t know that this event is fired by the Wizard next button.

So simple solution was to add an if case which asks for the PostBack state of the page

  • 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-08T12:55:28+00:00Added an answer on June 8, 2026 at 12:55 pm

    i have solved the problem by myself. My fault was, that i set the TextBox1.Text on every Page_Load again to initial value. I didn’t know that this event is fired by the Wizard next button.

    So simple solution was to add an if case which asks for the PostBack state of the page:

    if(!Page.IsPostBack)
    TextBox1.Text = Initialvalue;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a wizard setup like so: <asp:Wizard ID=Wizard1 runat=server DisplaySideBar=false onnextbuttonclick=OnNextButtonClick> <WizardSteps> <asp:WizardStep
I have an asp wizard on my page with three steps. <asp:Wizard ID=wizardBestellen runat=server
I have asp.net mvc 4 web application project on my server in IIS Directory.
i have wizard control with multiple steps. something like this <asp:wizard> <wizardsteps> </wizardsteps> <wizardsteps>
I have an asp.net wizard control in my web application I am calling a
I have an ASP.NET wizard control where I loop back, wiz.MoveTo(wiz.WizardSteps[0]) , to the
as you have seen before we have asp.net wizard componant for web application Is
I have an ASP page with the following repeater: <asp:Repeater runat=server ID=RegionRepeater DataSourceID=SqlDataSourceRegions EnableViewState=true>
I have an asp:wizard control that contains five WizardSteps. All of these steps have
I have a wizard in my asp.net MVC application which is built upon this

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.