By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,022 Members | 856 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,022 IT Pros & Developers. It's quick & easy.

Dynamic content of <select>

P: n/a

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
Nov 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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.
"Mike" <no****@nospam.com> wrote in message news:uF**************@TK2MSFTNGP10.phx.gbl...

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
Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.