Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default parameter

    Hello,
    How use a variable Javascript in a fonction VB.NET?
    (Variable Javascript is executed in page_load but fonction VB.NET is
    executed in asp button on_click)
    IS it possible?
    Thanks you.


    cedced Guest

  2. Similar Questions and Discussions

    1. Need help using URL parameter
      I have a question on passing the value in URL parameter, i have two example links provided below, one shows the dynamic images of each unique...
    2. Bad Parameter ! box
      Hello, I have a message box which pops when I run my code, but it doesn't look like a error with my code, its a smaller warning sign message box...
    3. URL parameter in DW??
      How can I use URL parameter between two pages in aspx?? Thanks!
    4. out parameter
      Hi, I use a parameter as "out int myarray" in the web service, but somehow the client cannot process it. Could you please tell me why this...
    5. Date Parameter For Saved Parameter Queries
      Hi again, I finally got to using saved parameter queries in my application (a big thank you to Bob Barrows for helping me with this). Currently...
  3. #2

    Default Re: parameter

    JavaScript is client-side. That is, JavaScript variables do not exist on the
    server. So I don't understand what you mean by "Variable JavaScript is
    executed in page_load". If you want to get a value from a JavaScript
    variable that was set on the client from an event handler on the server,
    you're going to have to pass it back to the server. You could put it into a
    hidden form field, or you could put it into a Cookie.

    --
    HTH,

    Kevin Spencer
    Microsoft MVP
    ..Net Developer
    [url]http://www.takempis.com[/url]
    Complex things are made up of
    lots of simple things.

    "cedced" <cedrico_59@yahoo.fr> wrote in message
    news:bha7ck$qb9$1@muguet.sncf.fr...
    > Hello,
    > How use a variable Javascript in a fonction VB.NET?
    > (Variable Javascript is executed in page_load but fonction VB.NET is
    > executed in asp button on_click)
    > IS it possible?
    > Thanks you.
    >
    >

    Kevin Spencer Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139