Client side script ASP.NET

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

  1. #1

    Default Client side script ASP.NET

    Hi,

    How can i eassely add client side script in my code. I have a sort of
    TAB control, that works through postbacks but i want the action taken on
    the
    client side. Thus when i click on a link a panel wil become visible or not
    visible..


    Thanks Henk

    henk Guest

  2. Similar Questions and Discussions

    1. Client Side Script interferes with Server Side Script?
      I added the form validation script (Java Script) to the head section of my insert records form page which works great when tested but when I submit...
    2. Client-Side Script for CheckBox Web Control
      I'm trying to create a server Web control that renders as a checkbox that has an OnClick event associated with it. I've created a short proof of...
    3. Client Side Java Script
      Hi, am not a ASP.NET programmer, and it seems that i have to learn web development, so i need help learning java script. any links to some...
    4. client side script with RegisterStartupScript issue
      no, you can not control the order the blocks are rendered. you can concat the scripts and register them once. also if you are doing code like: ...
    5. IIS6 doesn't include client side script
      I have several pages where we inlcude client side script using the following syntax. <script type="text/vbscript" language="VBScript"...
  3. #2

    Default Re: Client side script ASP.NET

    All server controls have an Attributes property where you can set
    clientside attributes. "onclick" would be a useful thing for you to
    attach to your items.

    Afterwards use the ClientscriptManager class (Page.ClientScript) to
    register clientside scripts from the server.


    henk wrote:
    > Hi,
    >
    > How can i eassely add client side script in my code. I have a sort of
    > TAB control, that works through postbacks but i want the action taken on
    > the
    > client side. Thus when i click on a link a panel wil become visible or not
    > visible..
    >
    >
    > Thanks Henk
    Jacob Guest

  4. #3

    Default Re: Client side script ASP.NET

    In this example I have an expanding panel that is shown and hidden via
    client side mouse click, with no postback required.
    [url]http://www.SteveOrr.net/articles/VisiPanel.aspx[/url]

    --
    I hope this helps,
    Steve C. Orr, MCSD, MVP
    [url]http://SteveOrr.net[/url]


    "henk" <henkenboukje@versatel.nl> wrote in message
    news:ef5b4$44bfd7f7$52adce4b$5411@news.versatel.ne t...
    > Hi,
    >
    > How can i eassely add client side script in my code. I have a sort of
    > TAB control, that works through postbacks but i want the action taken on
    > the
    > client side. Thus when i click on a link a panel wil become visible or not
    > visible..
    >
    >
    > Thanks Henk
    >

    Steve C. Orr [MVP, MCSD] 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