Home All Groups Group Topic Archive Search About

How do I create a Drop Down List with Hyperlinks as List Items in ASP.NET

Author
28 Apr 2006 6:46 PM
Tony Tone
Hey Guys,

I am trying to create a DropDownList with Hyperlinks as ListItem. I am
creating a web page with ASP.NET and VB


Any suggestions or Solutions to my problem?

Author
29 Apr 2006 5:04 PM
Nathan Sokalski
I don't think you can actually make a ListItem into a HyperLink, but what
you could do is set AutoPostBack=True and set the ListItem's Value property
equal to the URL you want to go to. Then in the event handler use a
Response.Redirect to send them to that URL. If you have any trouble with
this, let me know and I will do what I can to help. Good Luck!
--
Nathan Sokalski
njsokal***@hotmail.com
http://www.nathansokalski.com/

Show quoteHide quote
"Tony Tone" <avila.t***@gmail.com> wrote in message
news:1146249977.081058.157860@i39g2000cwa.googlegroups.com...
> Hey Guys,
>
> I am trying to create a DropDownList with Hyperlinks as ListItem. I am
> creating a web page with ASP.NET and VB
>
>
> Any suggestions or Solutions to my problem?
>