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. Retiive Parameter from URL

Retiive Parameter from URL

Scheduled Pinned Locked Moved ASP.NET
csharpjavascripthelptutorialquestion
5 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.
  • C Offline
    C Offline
    clife537
    wrote on last edited by
    #1

    Hi All, I have just passed a parameter to a URL through a javascript function so that i can get the value in the next page using C#, Iam not able to get the value in the second page, could any one please help me how to do it ?. Please help me out ....... Thanks chandu

    chandu

    P 1 Reply Last reply
    0
    • C clife537

      Hi All, I have just passed a parameter to a URL through a javascript function so that i can get the value in the next page using C#, Iam not able to get the value in the second page, could any one please help me how to do it ?. Please help me out ....... Thanks chandu

      chandu

      P Offline
      P Offline
      Parwej Ahamad
      wrote on last edited by
      #2

      Did you pass in query string ? can post here you that piece of code ?

      Parwej Ahamad g.parwez@gmail.com

      C 1 Reply Last reply
      0
      • P Parwej Ahamad

        Did you pass in query string ? can post here you that piece of code ?

        Parwej Ahamad g.parwez@gmail.com

        C Offline
        C Offline
        clife537
        wrote on last edited by
        #3

        function pass_var(i_d) { alert(i_d); window.open("home.aspx?" + "var_id=" + i_d); return; } This is the javascript function which i have written in the first page.

        chandu

        I 1 Reply Last reply
        0
        • C clife537

          function pass_var(i_d) { alert(i_d); window.open("home.aspx?" + "var_id=" + i_d); return; } This is the javascript function which i have written in the first page.

          chandu

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

          try with this

          window.open("home.aspx?var_id=" + i_d);

          bEST rEGARD pATHAN

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

          C 1 Reply Last reply
          0
          • I Imran Khan Pathan

            try with this

            window.open("home.aspx?var_id=" + i_d);

            bEST rEGARD pATHAN

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

            C Offline
            C Offline
            clife537
            wrote on last edited by
            #5

            Thanks for the Reply its working fine [:)] chandu

            chandu

            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