Professional Web Applications Themes

client-side scripting - ASP.NET General

> For some reason I cannot execute the client-side script in  You do have to have scripting enabled on the browser. -- Chris Jackson Software Engineer Microsoft MVP - Windows XP Windows XP Associate Expert --...

  1. #1

    Default Re: client-side scripting

    > For some reason I cannot execute the client-side script in 

    You do have to have scripting enabled on the browser.

    --
    Chris Jackson
    Software Engineer
    Microsoft MVP - Windows XP
    Windows XP Associate Expert
    --


    Chris Guest

  2. #2

    Default Re: client-side scripting

    Hi Chris,

    Thanks for responding. I am running everything locally,
    and I checked if scripting was enabled, it seems that it
    was. I haved looked uder Tools\Internet Options, selected
    Security tab, selected Custom Level button. Under
    Scripting, Active scripting is set to Enable.
    Is there any other place that it can be set?

    Thanks,
    Serge.
     [/ref]
    in 
    >
    >You do have to have scripting enabled on the browser.
    >
    >--
    >Chris Jackson
    >Software Engineer
    >Microsoft MVP - Windows XP
    >Windows XP Associate Expert
    >--
    >
    >
    >.
    >[/ref]
    Serge Guest

  3. #3

    Default Re: client-side scripting

    Can you post the relevant snippet of code, and what browser (version) you
    are using?

    --
    Chris Jackson
    Software Engineer
    Microsoft MVP - Windows XP
    Windows XP Associate Expert
    --
    "Serge" <com> wrote in message
    news:0a9601c365a2$802ebd80$gbl... [/ref]
    > in 
    > >
    > >You do have to have scripting enabled on the browser.
    > >
    > >--
    > >Chris Jackson
    > >Software Engineer
    > >Microsoft MVP - Windows XP
    > >Windows XP Associate Expert
    > >--
    > >
    > >
    > >.
    > >[/ref][/ref]


    Chris Guest

  4. #4

    Default Re: client-side scripting

    Is btnSubscribe an input type=button, or an asp:button? If you are using an
    asp:button, then the web control is writing its own javascript for the
    postback, and yours is being discarded. If it's an input type=button, try
    removing the runat=server, if you have it.

    --
    Chris Jackson
    Software Engineer
    Microsoft MVP - Windows XP
    Windows XP Associate Expert
    --
    "Serge" <com> wrote in message
    news:0b1101c365aa$e1fd1090$gbl... 
    > browser (version) you [/ref]
    > selected [/ref]
    > script 
    > >
    > >
    > >.
    > >[/ref][/ref]


    Chris Guest

  5. #5

    Default Re: client-side scripting

    Your code to implement client side scripting is correct. Just view source
    and check it out - you only get to have one handler, so if you are
    generating two, that is the problem.

    --
    Chris Jackson
    Software Engineer
    Microsoft MVP - Windows XP
    Windows XP Associate Expert
    --
    "Serge" <com> wrote in message
    news:0a1601c365c1$94fe4090$gbl... 
    > If you are using an 
    > javascript for the 
    > type=button, try [/ref]
    > locally, [/ref]
    > that it [/ref]
    > browser? [/ref]
    > browser. 
    > >
    > >
    > >.
    > >[/ref][/ref]


    Chris Guest

Similar Threads

  1. flashcom: client side cant access server side
    By u_sq in forum Macromedia Flash Flashcom
    Replies: 1
    Last Post: June 28th, 09:16 PM
  2. Help needed with DataGrid Client-Side Scripting
    By Subba Rao via DotNetMonster.com in forum ASP.NET Data Grid Control
    Replies: 2
    Last Post: March 10th, 04:42 PM
  3. Controls with a client side onLoad function or seting a cursor server side
    By Geoff Davis in forum ASP.NET Building Controls
    Replies: 3
    Last Post: January 15th, 03:54 AM
  4. Replies: 9
    Last Post: October 17th, 07:25 PM
  5. server side scripting???
    By mickey in forum Macromedia Dreamweaver
    Replies: 3
    Last Post: July 19th, 01:36 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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