Home All Groups Group Topic Archive Search About
Author
31 Mar 2005 7:37 PM
Richard
How would I display images in an asp.net dropdownlist using vb.net? I have a
webform where the user can modify product info (cost, description, etc.). The
info is in a ss2000 database. There is also an nvarchar field that points to
an image on the server. I know how to display the images in a datagrid, but
how would I pull the images into a dropdownlist so that the user can select a
different image for the product?

Author
1 Apr 2005 4:35 PM
Steve C. Orr [MVP, MCSD]
The standard HTML dropdown list cannot display images.
Therefore you'll need a 3rd party control, or you'll need to make one of
your own by using copious amounts of javascript to make it look realistic.
He're more info about making a custom dropdownlist.
http://steveorr.net/articles/ComboBox.aspx

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net



Show quoteHide quote
"Richard" <Rich***@discussions.microsoft.com> wrote in message
news:857D199B-477F-4688-B5CB-4914AEAF4294@microsoft.com...
> How would I display images in an asp.net dropdownlist using vb.net? I have
> a
> webform where the user can modify product info (cost, description, etc.).
> The
> info is in a ss2000 database. There is also an nvarchar field that points
> to
> an image on the server. I know how to display the images in a datagrid,
> but
> how would I pull the images into a dropdownlist so that the user can
> select a
> different image for the product?
>
Author
1 Apr 2005 5:39 PM
Richard
Thanks Steve. Good article!

Richard

Show quoteHide quote
"Steve C. Orr [MVP, MCSD]" wrote:

> The standard HTML dropdown list cannot display images.
> Therefore you'll need a 3rd party control, or you'll need to make one of
> your own by using copious amounts of javascript to make it look realistic.
> He're more info about making a custom dropdownlist.
> http://steveorr.net/articles/ComboBox.aspx
>
> --
> I hope this helps,
> Steve C. Orr, MCSD, MVP
> http://SteveOrr.net
>
>
>
> "Richard" <Rich***@discussions.microsoft.com> wrote in message
> news:857D199B-477F-4688-B5CB-4914AEAF4294@microsoft.com...
> > How would I display images in an asp.net dropdownlist using vb.net? I have
> > a
> > webform where the user can modify product info (cost, description, etc.).
> > The
> > info is in a ss2000 database. There is also an nvarchar field that points
> > to
> > an image on the server. I know how to display the images in a datagrid,
> > but
> > how would I pull the images into a dropdownlist so that the user can
> > select a
> > different image for the product?
> >
>
>
>