how to pass client side variable to asp.net?

Discussion in 'ASP .Net' started by Beffmans, Mar 23, 2006.

  1. Beffmans

    Beffmans Guest

    HI

    how to pass client side variable(javascript) to an asp.net webform? I
    was thinking using an invisible asp:textbox control to store the value
    in? any ideas?

    thanks

    Bert

    *** Sent via Developersdex http://www.developersdex.com ***
     
    Beffmans, Mar 23, 2006
    #1
    1. Advertising

  2. Beffmans

    Mark Rae Guest

    <Beffmans> wrote in message news:...

    > how to pass client side variable(javascript) to an asp.net webform? I
    > was thinking using an invisible asp:textbox control to store the value
    > in? any ideas?


    That's one way. Or you could use a QueryString...
     
    Mark Rae, Mar 23, 2006
    #2
    1. Advertising

  3. <input type = hidden ...> is made specially for this. You need to specify
    runat=server and an id.

    Eliyahu

    <Beffmans> wrote in message news:...
    >
    >
    > HI
    >
    > how to pass client side variable(javascript) to an asp.net webform? I
    > was thinking using an invisible asp:textbox control to store the value
    > in? any ideas?
    >
    > thanks
    >
    > Bert
    >
    > *** Sent via Developersdex http://www.developersdex.com ***
     
    Eliyahu Goldin, Mar 23, 2006
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Matt
    Replies:
    2
    Views:
    565
  2. Boss302
    Replies:
    0
    Views:
    1,056
    Boss302
    Nov 21, 2006
  3. Bogdan
    Replies:
    2
    Views:
    655
    Bogdan
    Jun 9, 2008
  4. Zoe Hart
    Replies:
    1
    Views:
    373
    Scott Wisniewski
    Jan 8, 2004
  5. Jack
    Replies:
    3
    Views:
    216
Loading...

Share This Page