How to add a HyperLink into a ListBox

A

ad

Hi,
We can add some string to a ListBox like:

ListBox1.Items.Add("This is one");

How can I add a HyperLink into a ListBox?
 
P

Patrice

What is the behavior you want ? You could use autopostback to be immediately
notified of the change and redirect based on the selected value. You could
also do this client side.

A listbox can't contain an hyperlink but you can of course do whatever you
want once a value is selected....
 

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

Staff online

Members online

Forum statistics

Threads
473,755
Messages
2,569,534
Members
45,008
Latest member
Rahul737

Latest Threads

Top