Problem with Asp Wizard Control

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • steve waugh
    New Member
    • Oct 2007
    • 13

    Problem with Asp Wizard Control

    Hi

    I m using asp:wizard contol in my application .

    i m using Javascript for calculation, the problem is when i perform the calculation and move to next step the calculated value of previous step got destroyed.. but i want to retain the values through out wizard.

    Plz help, Its very urgent...

    Thx in advance
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    Javascript questions should be asked in the Javascript forum, not here in the .NET
    Articles section. I'll move your question for you.

    kind regards,

    Jos

    Comment

    • acoder
      Recognized Expert MVP
      • Nov 2006
      • 16032

      #3
      Originally posted by steve waugh
      I m using asp:wizard contol in my application .

      i m using Javascript for calculation, the problem is when i perform the calculation and move to next step the calculated value of previous step got destroyed.. but i want to retain the values through out wizard.
      Can you post your code?

      You can either use DHTML if no server-side code is required or Ajax if it is. One other possibility is to store the information in cookies so that the information is not lost.

      Comment

      • steve waugh
        New Member
        • Oct 2007
        • 13

        #4
        Java script problem(Asp:Wiz ard Control)

        Hi

        I m using ASP Wizard control in my application using C# .

        I've a textbox on WizardStep1 and want to access the value for the same on WizardStep2 using java script . but i m getting error "OBJECT EXPECTED".

        var document.getEle mentById("<%=Te xtBox2.ClientID %>").value=docu ment.getElement ById("<%=TextBo x1.ClientID%>") .value;

        TextBox2 is placed on Step2 in Wizard Control and TextBox1 is on Step1.

        I m not able to assign the value of textBox1 to TextBox2.

        Plz help

        Thx in advance

        Comment

        • acoder
          Recognized Expert MVP
          • Nov 2006
          • 16032

          #5
          I've merged this thread with a previous one on the same subject.

          When you go from step 1 to step 2 in the wizard, does it involve unloading and reloading a page, i.e. does it involve server-side code?

          Comment

          Working...