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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. Data Transfer / Multiple pages.

Data Transfer / Multiple pages.

Scheduled Pinned Locked Moved ASP.NET
questionannouncement
3 Posts 3 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.
  • G Offline
    G Offline
    gerrybrennan
    wrote on last edited by
    #1

    Hi I have five pages. A B C D E; A calls B calls C. (via buttons on respective pages) also A calls D calls E. (via buttons on respective pages) A shows 2 values B1 & C1 (Both empty at start) A shows 2 more values D1 & E1 (Both empty at start) Notes. To get to C the user first presses Bbutton then when in B presses the CButton. When In C a user enters some data in text box C1 and returns to B. When In B C1 should be displayed. Also the user enters some more information B1 and returns to A When back at A, when page B returns A should update and show B1 & C1 To get to E the user first presses Dbutton then when in D presses the EButton. When In E a user enters some data in text box E1 and returns to D. When In D E1 should be displayed. Also the user enters some more information D1 and returns to A When back at A, when page D returns A should update and show B1 & C1 Could any seasoned professional please suggest how they would approach this. How do you exit a page and return to the calling page ? My preferred approach is using properties set/get. However how do you refresh relevent fields when a page returns? G.

    C K 2 Replies Last reply
    0
    • G gerrybrennan

      Hi I have five pages. A B C D E; A calls B calls C. (via buttons on respective pages) also A calls D calls E. (via buttons on respective pages) A shows 2 values B1 & C1 (Both empty at start) A shows 2 more values D1 & E1 (Both empty at start) Notes. To get to C the user first presses Bbutton then when in B presses the CButton. When In C a user enters some data in text box C1 and returns to B. When In B C1 should be displayed. Also the user enters some more information B1 and returns to A When back at A, when page B returns A should update and show B1 & C1 To get to E the user first presses Dbutton then when in D presses the EButton. When In E a user enters some data in text box E1 and returns to D. When In D E1 should be displayed. Also the user enters some more information D1 and returns to A When back at A, when page D returns A should update and show B1 & C1 Could any seasoned professional please suggest how they would approach this. How do you exit a page and return to the calling page ? My preferred approach is using properties set/get. However how do you refresh relevent fields when a page returns? G.

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      The right way, is to make pages 1-5 all controls, put them all on the same page, and then you can use viewstate to store values and pass them between 'pages'

      Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

      1 Reply Last reply
      0
      • G gerrybrennan

        Hi I have five pages. A B C D E; A calls B calls C. (via buttons on respective pages) also A calls D calls E. (via buttons on respective pages) A shows 2 values B1 & C1 (Both empty at start) A shows 2 more values D1 & E1 (Both empty at start) Notes. To get to C the user first presses Bbutton then when in B presses the CButton. When In C a user enters some data in text box C1 and returns to B. When In B C1 should be displayed. Also the user enters some more information B1 and returns to A When back at A, when page B returns A should update and show B1 & C1 To get to E the user first presses Dbutton then when in D presses the EButton. When In E a user enters some data in text box E1 and returns to D. When In D E1 should be displayed. Also the user enters some more information D1 and returns to A When back at A, when page D returns A should update and show B1 & C1 Could any seasoned professional please suggest how they would approach this. How do you exit a page and return to the calling page ? My preferred approach is using properties set/get. However how do you refresh relevent fields when a page returns? G.

        K Offline
        K Offline
        Kannan Ar
        wrote on last edited by
        #3

        Are you a winforms programmer? Designing web pages like this will be a burden to the end user. You can use session variables, query strings or cross page posting to pass data one form to another.

        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