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

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top