ASP.NET User Controls With Javascript

G

Guest

I have a user control in an ASP.NET web page. I setup some client side
javascript to populate an asp.net label based on the value of an item
selected in an asp.net listbox. The registered javascript cannot "see"
either the listbox or the label. How can I get the javascript to recognize
the controls on the client-side?

Thanks
 
C

Cor Ligthert [MVP]

Sperotti,

It should be simple. The ID is the name of the control.
To get it ever more clear, see the sourcecode of a showed page in your
webbrowser.

I hope this helps,

Cor
 

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

Top