Professional Web Applications Themes

making webcontrols visible/invisible - ASP.NET General

Hi, Classic ASP programmer moving to ASP .NET and I have the following problem: I am constructing a page where there are a number of radio buttons and a number of label/textbox. The visibility of the label/textbox is dependent on which radio button the user selects. I want it all to be handled in the client by scripting. I have done thins 100s of times is classic ASP where it's a walk in the park, but I don't seem to be able to get the handle on it in ASP .NET. Can you help? Where are the resources for client ...

  1. #1

    Default making webcontrols visible/invisible

    Hi,

    Classic ASP programmer moving to ASP .NET and I have the following problem:


    I am constructing a page where there are a number of radio buttons
    and a number of label/textbox.

    The visibility of the label/textbox is dependent on which radio button the
    user
    selects.

    I want it all to be handled in the client by scripting.

    I have done thins 100s of times is classic ASP where it's a walk in the
    park, but I
    don't seem to be able to get the handle on it in ASP .NET.

    Can you help?

    Where are the resources for client side scripting in ASP.net? I can't find
    anything
    on [url]www.asp.net[/url]

    Sincerely,
    S.


    Susan van Houen Guest

  2. #2

    Default Re: making webcontrols visible/invisible

    You can handle client side events on web controls by using Attributes:
    MyControl.Attributes.Add("onchange", "javascript:myClientSideFunc();")
    If you still have troubles post some simple code which you want to port to
    ASP.NET


    "Susan van Houen" <svhouenhotmail.com> wrote in message
    news:O%23ygWPTSDHA.1556TK2MSFTNGP10.phx.gbl...
    > Hi,
    >
    > Classic ASP programmer moving to ASP .NET and I have the following
    problem:
    >
    >
    > I am constructing a page where there are a number of radio buttons
    > and a number of label/textbox.
    >
    > The visibility of the label/textbox is dependent on which radio button the
    > user
    > selects.
    >
    > I want it all to be handled in the client by scripting.
    >
    > I have done thins 100s of times is classic ASP where it's a walk in the
    > park, but I
    > don't seem to be able to get the handle on it in ASP .NET.
    >
    > Can you help?
    >
    > Where are the resources for client side scripting in ASP.net? I can't find
    > anything
    > on [url]www.asp.net[/url]
    >
    > Sincerely,
    > S.
    >
    >

    Anatoly Guest

Similar Threads

  1. how to set nodes visible and invisible
    By Unregistered in forum ASP.NET
    Replies: 4
    Last Post: September 26th, 02:23 AM
  2. Question how to set nodes visible and invisible
    By Unregistered in forum Brainstorming Area
    Replies: 0
    Last Post: August 26th, 05:25 AM
  3. How to set tree nodes to be visible or invisible?
    By logicmason in forum Macromedia Flex General Discussion
    Replies: 2
    Last Post: October 14th, 09:39 AM
  4. Making 3D object invisible then visible
    By naddasmiles in forum Macromedia Director 3D
    Replies: 2
    Last Post: August 13th, 05:34 PM
  5. Replies: 2
    Last Post: July 29th, 05:59 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