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. java script in asp.net

java script in asp.net

Scheduled Pinned Locked Moved ASP.NET
csharpjavaasp-netsysadmintools
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
    chakkara2003
    wrote on last edited by
    #1

    hi all, how can i get the value of a client side variable in server side. chakkara

    S 1 Reply Last reply
    0
    • C chakkara2003

      hi all, how can i get the value of a client side variable in server side. chakkara

      S Offline
      S Offline
      sathish s
      wrote on last edited by
      #2

      One method is to store the client side variables's value in a hidden field control.

      C 1 Reply Last reply
      0
      • S sathish s

        One method is to store the client side variables's value in a hidden field control.

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

        but am getting an error. (null reference) chakkara

        M 1 Reply Last reply
        0
        • C chakkara2003

          but am getting an error. (null reference) chakkara

          M Offline
          M Offline
          Mike Puddephat
          wrote on last edited by
          #4

          This should work. Have you made your hidden input control runat server? Visit Riverside Internet[^] Visit Mike Puddephat Online[^]

          C 1 Reply Last reply
          0
          • M Mike Puddephat

            This should work. Have you made your hidden input control runat server? Visit Riverside Internet[^] Visit Mike Puddephat Online[^]

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

            hi, thanks all, its working. i had made one mistake in other part chakkara

            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