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. Querystring in Hidden Control

Querystring in Hidden Control

Scheduled Pinned Locked Moved ASP.NET
helptutorial
4 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.
  • K Offline
    K Offline
    kavitha_blueindia
    wrote on last edited by
    #1

    Hi all, How to retrieve request.querystring in hidden control.I need to do something like below. "/> Please Help. Thanks a lot.

    N C 2 Replies Last reply
    0
    • K kavitha_blueindia

      Hi all, How to retrieve request.querystring in hidden control.I need to do something like below. "/> Please Help. Thanks a lot.

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

      I believe the following will work

      <input type="hidden" name="FanID" value='<%=request.querystring["FanID"]%>'/>

      If not, mark it as runat=server and access from code behind file.

      Navaneeth How to use google | Ask smart questions

      K 1 Reply Last reply
      0
      • K kavitha_blueindia

        Hi all, How to retrieve request.querystring in hidden control.I need to do something like below. "/> Please Help. Thanks a lot.

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

        Why do you need something in a hidden control that's already on the query string ?

        Christian Graus Driven to the arms of OSX by Vista.

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

          I believe the following will work

          <input type="hidden" name="FanID" value='<%=request.querystring["FanID"]%>'/>

          If not, mark it as runat=server and access from code behind file.

          Navaneeth How to use google | Ask smart questions

          K Offline
          K Offline
          kavitha_blueindia
          wrote on last edited by
          #4

          Thanks Navaneeth.It worked.

          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