Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. cross page posting [modified]

cross page posting [modified]

Scheduled Pinned Locked Moved ASP.NET
databasehelpquestion
13 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I I Never Look Behind

    Hi! i have say 1.aspx, 2.aspx, 3.aspx & finally final.aspx. in 1.aspx i collect first name & last name; in second page 2.aspx i collects mobile & email; & in 3.aspx i collect address. finally i want to collect all the information in final.aspx want to save in database. the work flow for this is: 1.aspx -> 2.aspx -> 3.aspx -> finall.aspx. can any one help me in this regards? -- modified at 2:01 Monday 19th November, 2007

    P Offline
    P Offline
    Prateek G
    wrote on last edited by
    #3

    The most optimized solution to this requirement is property. Create a class with all these properties Name,Address,email etc.. and assign value to these properties and either pass it to another page or put it in session... You can directly also put all these values in session...

    1 Reply Last reply
    0
    • N N a v a n e e t h

      I Never Look Behind wrote:

      how will i achieve this?

      1 - Create a class which contains all these fields required. Assign value to the class fields and store class object in session which can be access in all these three pages. Remove the session after insertion to the database in final page. 2 - Create a temporary table and store the details over there. After insertion remove these values. 3 - If your information is not sensitive, pass it through querystring.

      All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions

      I Offline
      I Offline
      I Never Look Behind
      wrote on last edited by
      #4

      i hvae already done this using session but i want ot do this using some other different thing.

      N 1 Reply Last reply
      0
      • I I Never Look Behind

        i hvae already done this using session but i want ot do this using some other different thing.

        N Offline
        N Offline
        N a v a n e e t h
        wrote on last edited by
        #5

        I Never Look Behind wrote:

        already done this using session but i want ot do this using some other different thing.

        What about the 2nd and 3rd suggestion give by me ? Is that the different method you need. Why you need to try different method if session's are working as expected ?

        All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions

        I 1 Reply Last reply
        0
        • N N a v a n e e t h

          I Never Look Behind wrote:

          already done this using session but i want ot do this using some other different thing.

          What about the 2nd and 3rd suggestion give by me ? Is that the different method you need. Why you need to try different method if session's are working as expected ?

          All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions

          I Offline
          I Offline
          I Never Look Behind
          wrote on last edited by
          #6

          Actuall it is a 7-step registering process 7 each step have large amount of data.

          N 1 Reply Last reply
          0
          • I I Never Look Behind

            Actuall it is a 7-step registering process 7 each step have large amount of data.

            N Offline
            N Offline
            N a v a n e e t h
            wrote on last edited by
            #7

            I Never Look Behind wrote:

            Actuall it is a 7-step registering process 7 each step have large amount of data.

            Then you could put all the controls required in one single page and hide/show it using javascript. Since all the controls are in single page, you will be able to access all of them and update accordingly.

            All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions

            I 1 Reply Last reply
            0
            • N N a v a n e e t h

              I Never Look Behind wrote:

              Actuall it is a 7-step registering process 7 each step have large amount of data.

              Then you could put all the controls required in one single page and hide/show it using javascript. Since all the controls are in single page, you will be able to access all of them and update accordingly.

              All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions

              I Offline
              I Offline
              I Never Look Behind
              wrote on last edited by
              #8

              But all the steps are compulsory & if we put all control in a single page then it will become very complicated.

              N 1 Reply Last reply
              0
              • I I Never Look Behind

                But all the steps are compulsory & if we put all control in a single page then it will become very complicated.

                N Offline
                N Offline
                N a v a n e e t h
                wrote on last edited by
                #9

                I Never Look Behind wrote:

                But all the steps are compulsory & if we put all control in a single page then it will become very complicated.

                :mad: This is ridiculous, You don't want to use all the 3 methods which is specified in the first post, you don't want to use all controls in single page and separate using JS. So how you are planning to do ? And I am not getting why you don't want to use all these.

                All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions

                1 Reply Last reply
                0
                • I I Never Look Behind

                  Hi! i have say 1.aspx, 2.aspx, 3.aspx & finally final.aspx. in 1.aspx i collect first name & last name; in second page 2.aspx i collects mobile & email; & in 3.aspx i collect address. finally i want to collect all the information in final.aspx want to save in database. the work flow for this is: 1.aspx -> 2.aspx -> 3.aspx -> finall.aspx. can any one help me in this regards? -- modified at 2:01 Monday 19th November, 2007

                  I Offline
                  I Offline
                  Imran Khan Pathan
                  wrote on last edited by
                  #10

                  Use Wizard control. you have no need to use multiple page. bEst Regard pAthan

                  please don't forget to vote on the post that helped you.

                  I 1 Reply Last reply
                  0
                  • I I Never Look Behind

                    Hi! i have say 1.aspx, 2.aspx, 3.aspx & finally final.aspx. in 1.aspx i collect first name & last name; in second page 2.aspx i collects mobile & email; & in 3.aspx i collect address. finally i want to collect all the information in final.aspx want to save in database. the work flow for this is: 1.aspx -> 2.aspx -> 3.aspx -> finall.aspx. can any one help me in this regards? -- modified at 2:01 Monday 19th November, 2007

                    J Offline
                    J Offline
                    John ph
                    wrote on last edited by
                    #11

                    1. You can use Server.Transfer Method and Cross Page Post Feature which will allow you a normal post back but to a different page in the application. In the New page you access the values of the Previous Page using the PreviousPage property. [or] 2. You can Use Wizard Control which will help you to create a multi-step form entry process in a web page.

                    - Regards -
                       JON


                    Life is not measured by the amount of breaths we take, but by the moments that take our breath away.


                    I 1 Reply Last reply
                    0
                    • I Imran Khan Pathan

                      Use Wizard control. you have no need to use multiple page. bEst Regard pAthan

                      please don't forget to vote on the post that helped you.

                      I Offline
                      I Offline
                      I Never Look Behind
                      wrote on last edited by
                      #12

                      Thnaks

                      1 Reply Last reply
                      0
                      • J John ph

                        1. You can use Server.Transfer Method and Cross Page Post Feature which will allow you a normal post back but to a different page in the application. In the New page you access the values of the Previous Page using the PreviousPage property. [or] 2. You can Use Wizard Control which will help you to create a multi-step form entry process in a web page.

                        - Regards -
                           JON


                        Life is not measured by the amount of breaths we take, but by the moments that take our breath away.


                        I Offline
                        I Offline
                        I Never Look Behind
                        wrote on last edited by
                        #13

                        Thnaks

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups