473,405 Members | 2,261 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Icon graphics in gridview drop-down field?

I'd like to have a field in a gridview (or standalone on a webpage) that not
only drops down each salespersons name but also precedes their name with a
blue, red, green or orange dot icon depicting what group they belong to.

Can drop-downs have such graphics as opposed to just text?

TIA

Jun 27 '08 #1
5 1690
"Mark B" <no**@none.comwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
Can drop-downs have such graphics as opposed to just text?
Not natively, but several options are available:
http://www.google.co.uk/search?sourc...DownList+image
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Jun 27 '08 #2
Hi Mark,

As for dropdownlist control, it is the wrapper of html <selectelement. It
support limited formatting feature in each select item/option. As far as I
know, it support some simple backcolor or forecolor style for each item.
But cannot support embeded image in each item. I think you may search for
some custom dropdownlist for some ideas:

http://forums.asp.net/p/1061726/1525767.aspx

http://www.codeproject.com/KB/custom...DownWidth.aspx

Sincerely,

Steven Cheng
Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
>From: "Mark B" <no**@none.com>
Subject: Icon graphics in gridview drop-down field?
Date: Fri, 13 Jun 2008 11:23:00 +1200
>
I'd like to have a field in a gridview (or standalone on a webpage) that
not
>only drops down each salespersons name but also precedes their name with a
blue, red, green or orange dot icon depicting what group they belong to.

Can drop-downs have such graphics as opposed to just text?

TIA

Jun 27 '08 #3
Hi Mark,

Does the information in previous messages help you some or have you got any
progress?

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>From: "Mark B" <no**@none.com>
Subject: Icon graphics in gridview drop-down field?
Date: Fri, 13 Jun 2008 11:23:00 +1200
Lines: 8

I'd like to have a field in a gridview (or standalone on a webpage) that
not
>only drops down each salespersons name but also precedes their name with a
blue, red, green or orange dot icon depicting what group they belong to.

Can drop-downs have such graphics as opposed to just text?

TIA

Jun 27 '08 #4
Thanks.

So far I haven't pursued that since it wasn't native.

"Steven Cheng [MSFT]" <st*****@online.microsoft.comwrote in message
news:rP**************@TK2MSFTNGHUB02.phx.gbl...
Hi Mark,

Does the information in previous messages help you some or have you got
any
progress?

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.
==================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.
--------------------
>>From: "Mark B" <no**@none.com>
Subject: Icon graphics in gridview drop-down field?
Date: Fri, 13 Jun 2008 11:23:00 +1200
Lines: 8

I'd like to have a field in a gridview (or standalone on a webpage) that
not
>>only drops down each salespersons name but also precedes their name with a
blue, red, green or orange dot icon depicting what group they belong to.

Can drop-downs have such graphics as opposed to just text?

TIA

Jun 27 '08 #5
Thanks for the followup Mark,

If there is anything else we can help later, welcome to post here.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
-------------------
>From: "Mark B" <no**@none.com>
References: <#k**************@TK2MSFTNGP02.phx.gbl>
<rP**************@TK2MSFTNGHUB02.phx.gbl>
>In-Reply-To: <rP**************@TK2MSFTNGHUB02.phx.gbl>
Subject: Re: Icon graphics in gridview drop-down field?
Date: Thu, 19 Jun 2008 12:02:23 +1200
>Thanks.

So far I haven't pursued that since it wasn't native.

"Steven Cheng [MSFT]" <st*****@online.microsoft.comwrote in message
news:rP**************@TK2MSFTNGHUB02.phx.gbl...
>Hi Mark,

Does the information in previous messages help you some or have you got
any
progress?

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you.
Please
>feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.

================================================= =
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
>ications.
================================================= =
This posting is provided "AS IS" with no warranties, and confers no
rights.
--------------------
>>>From: "Mark B" <no**@none.com>
Subject: Icon graphics in gridview drop-down field?
Date: Fri, 13 Jun 2008 11:23:00 +1200
Lines: 8

I'd like to have a field in a gridview (or standalone on a webpage) that
not
>>>only drops down each salespersons name but also precedes their name with
a
>>>blue, red, green or orange dot icon depicting what group they belong to.

Can drop-downs have such graphics as opposed to just text?

TIA


Jun 27 '08 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Bernie Yaeger | last post by:
I now know how to gather the file type icons and I'm able to use them in a listview. But a listbox does not have a .smallimagelist or .largeimagelist member, so I don't know how to translate that...
7
by: MightyKitten | last post by:
L.S I'm not sure who I should contact, but it seems the valid-html401 icon is missing at http://www.w3.org/Icons/valid-html401 --
2
by: Netian | last post by:
Hello , Please teach me how to create an Icon object with multiple images by GDI++ . I can create an Icon with a image as following , but can't do an Icon with multiple images. private Icon...
3
by: Benny Raymond | last post by:
I've written a class that inherits from MenuItem which displays icons next to the items in a menu... The only problem I'm having is that I have no clue how to turn these icons greyscale if they're...
2
by: מירי | last post by:
I would like to make a program that puts an icon into the desk tray and when relevant changes it to an animated icon (much like the internet connection icon). Before I start playing around with...
2
by: Carl Gilbert | last post by:
Hi I have to following code which sets up a new bitmap. 'set up a transparent 16x16 bitmap Dim bm As New Bitmap(16, 16) Dim g As Graphics = Graphics.FromImage(bm)...
2
by: Dennis | last post by:
I have created a bitmap and set the transparency color to black; mybitmap.MakeTransparent(Color.Black) myicon = Icon.FromHandle(bm.GetHicon) This creates the icon ok but the background color...
3
by: Dennis | last post by:
I have a bitmap and make the color transparent; mybitmap.MakeTransparent(Color.Black) When I save it as a Icon, the black color is not transparent. However, if I save it as a bitmap then...
2
by: \(O\)enone | last post by:
I wish to be able to copy a form's icon into a picturebox, in a similar way to how the Windows Taskbar copies each form's icon into each of its task panels. I can easily read out the icon of...
7
by: =?Utf-8?B?QmVu?= | last post by:
Hi I am looking for a way to extraxt an icon from a .exe file an save it as an icon not a bitmap or jpeg to a file? The code below extracts the icon but only as a bitmap PictureBox1.Image =...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.