making webcontrols visible/invisible

  • Thread starter Thread starter Susan van Houen
  • Start date Start date
S

Susan van Houen

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 www.asp.net

Sincerely,
S.
 
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
 
Back
Top