making webcontrols visible/invisible

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.
 
A

Anatoly

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top