Dynamic content of <select>

M

Mike

Hello,

I have an ASP page that contains a custom control that has a <select> element. I would like to add some <option> elements dynamically from the ASP page. How can I do that?

Thanks
Mike
 
A

avnrao

for a sec I thought I am looking at ASP newsgroup.
If its ASP, you can use <% vbscript or javascript %> and make the <option> tags. if its ASP.Net code behind, you can use RegisterStartupScript to send the script which creates.

Av.

Hello,

I have an ASP page that contains a custom control that has a <select> element. I would like to add some <option> elements dynamically from the ASP page. How can I do that?

Thanks
Mike
 

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
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top