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. how to get a controls value in another page.

how to get a controls value in another page.

Scheduled Pinned Locked Moved ASP.NET
tutorialquestion
3 Posts 3 Posters 1 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.
  • S Offline
    S Offline
    santu321
    wrote on last edited by
    #1

    In my application,I have a page a.aspx which has a hidden field with some value.Now from b.aspx which is in the same application folder I want to fetch the value of the hidden field of a.aspx.How can it be achieved?

    P K 2 Replies Last reply
    0
    • S santu321

      In my application,I have a page a.aspx which has a hidden field with some value.Now from b.aspx which is in the same application folder I want to fetch the value of the hidden field of a.aspx.How can it be achieved?

      P Offline
      P Offline
      padmanabhan N
      wrote on last edited by
      #2

      one of the option is to use session.... If you are navigating from page a to b then you can also use request.querystring....

      Padmanabhan My Articles: Articles[^] My latest Article: Word Automation[^]

      1 Reply Last reply
      0
      • S santu321

        In my application,I have a page a.aspx which has a hidden field with some value.Now from b.aspx which is in the same application folder I want to fetch the value of the hidden field of a.aspx.How can it be achieved?

        K Offline
        K Offline
        kPriyanka12
        wrote on last edited by
        #3

        You can pass the value with the help of session,query string,cache or cookie. Anything from this you can use as per the size of the data you want to pass.

        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