making webcontrols visible/invisible

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

  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. Similar Questions and Discussions

    1. How to set tree nodes to be visible or invisible?
      Hi All, I'm trying to use a DOM Node as the data provider for a tree. This DOM Node contains we'll say a folder hierarchy as well as file leaf...
    2. Making 3D object invisible then visible
      Currently at the start of my movie when played i have a screen model set to invisible with ...
    3. Making text invisible using javascript
      Hi Can anyone give me a script for finding a word in a pdf and changing the text color to invisible, as I am completely stumpped!
    4. Making sprites invisible at runtime
      The topic header speaks for itself. I have a bunch of sprites that I would like to make invisible at the start of the movie and become visible when...
    5. How do I get lines in a form to be visible/invisible based on check box?
      I have a form and one of the entities is a check box that is checked when a record is closed out. How do I get the form to only show records that...
  3. #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" <svhouen@hotmail.com> wrote in message
    news:O%23ygWPTSDHA.1556@TK2MSFTNGP10.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

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