It is not quite possible to add images to a *real* dropdownlist control
in asp.net since it is not supported in HTML <select> element anyway.
What I usually do to accomplish similar effect is to actually use a
DataGrid inside a Panel control. The panel control would be rendered as
a <div> tag and you can use the display: overflow; stylesheet to do the
scrolling effect; and you can use the DataGrid's intrinsic support of
SelectItemTemplate and selection mechanism to accomplish the
SelectedItem of the dropdownlist.
Hope this helps you.
Regards,
Juliet Choy
Hong Kong
MVP - ASP.NET
[quoted text, click to view] koen van meerbeeck wrote:
> Hi All
>
> I'm creating an application and I want to add images to a dropdownlist in
> asp.net using C#.
>
> Can anybody help me with this plz.
>
> Koen
>
>