<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>DropDownList with custom attributes on the items</title><link>http://weblogs.asp.net/fmarguerie/archive/2003/02/27/dropdownlist-with-custom-attributes-on-the-items.aspx</link><description>I've created a custom DropDownList web control that enables the use of custom attributes on its items. This is just a rather simple improvement over the standard .NET web control, but a useful one in my opinion. For example, this control can be used as</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>re: DropDownList with custom attributes on the items</title><link>http://weblogs.asp.net/fmarguerie/archive/2003/02/27/dropdownlist-with-custom-attributes-on-the-items.aspx#7217041</link><pubDate>Sat, 26 Sep 2009 12:01:55 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7217041</guid><dc:creator>Jackson</dc:creator><author>Jackson</author><description>&lt;p&gt;Can I add Image instead of Text in Drop-Down list?&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7217041" width="1" height="1"&gt;</description></item><item><title>re: DropDownList with custom attributes on the items</title><link>http://weblogs.asp.net/fmarguerie/archive/2003/02/27/dropdownlist-with-custom-attributes-on-the-items.aspx#7090932</link><pubDate>Sat, 16 May 2009 19:51:36 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7090932</guid><dc:creator>yevi</dc:creator><author>yevi</author><description>&lt;p&gt;I want a &amp;nbsp;Dropdownlost because I need the binding stuff and more built in features.&lt;/p&gt;
&lt;p&gt;Using html dropdownlist will require to implement all that from scratch.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7090932" width="1" height="1"&gt;</description></item><item><title>re: DropDownList with custom attributes on the items</title><link>http://weblogs.asp.net/fmarguerie/archive/2003/02/27/dropdownlist-with-custom-attributes-on-the-items.aspx#7090926</link><pubDate>Sat, 16 May 2009 19:45:03 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7090926</guid><dc:creator>yevi</dc:creator><author>yevi</author><description>&lt;p&gt;Fabrice Marguerie, can't it be done by extending the asp:dropdownlist?&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7090926" width="1" height="1"&gt;</description></item><item><title>re: DropDownList with custom attributes on the items</title><link>http://weblogs.asp.net/fmarguerie/archive/2003/02/27/dropdownlist-with-custom-attributes-on-the-items.aspx#7090722</link><pubDate>Sat, 16 May 2009 16:50:47 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7090722</guid><dc:creator>Fabrice Marguerie</dc:creator><author>Fabrice Marguerie</author><description>&lt;p&gt;yevi: the disabled attribute is the solution, except it doesn't work in Internet Explorer.&lt;/p&gt;
&lt;p&gt;Other solutions: &lt;a rel="nofollow" target="_new" href="http://forums.digitalpoint.com/showthread.php?t=426620"&gt;forums.digitalpoint.com/showthread.php&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7090722" width="1" height="1"&gt;</description></item><item><title>re: DropDownList with custom attributes on the items</title><link>http://weblogs.asp.net/fmarguerie/archive/2003/02/27/dropdownlist-with-custom-attributes-on-the-items.aspx#7090705</link><pubDate>Sat, 16 May 2009 16:34:58 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7090705</guid><dc:creator>yevi</dc:creator><author>yevi</author><description>&lt;p&gt;Very good.&lt;/p&gt;
&lt;p&gt;Is it possible using your approach, to disable an item?&lt;/p&gt;
&lt;p&gt;Making it &amp;quot;locked&amp;quot;, no letting click on this item with a mouse or selecting it?&lt;/p&gt;
&lt;p&gt;(The item should appear in the list, gray colored)&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7090705" width="1" height="1"&gt;</description></item><item><title>re: DropDownList with custom attributes on the items</title><link>http://weblogs.asp.net/fmarguerie/archive/2003/02/27/dropdownlist-with-custom-attributes-on-the-items.aspx#7084783</link><pubDate>Wed, 13 May 2009 08:58:50 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7084783</guid><dc:creator>Fabrice Marguerie</dc:creator><author>Fabrice Marguerie</author><description>&lt;p&gt;Tuba: I've fixed the markup. I don't know why it became messed up.&lt;/p&gt;
&lt;p&gt;Gr8Onkar: Have you tried with multiple spans in a ListItem?&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7084783" width="1" height="1"&gt;</description></item><item><title>re: DropDownList with custom attributes on the items</title><link>http://weblogs.asp.net/fmarguerie/archive/2003/02/27/dropdownlist-with-custom-attributes-on-the-items.aspx#7084726</link><pubDate>Wed, 13 May 2009 07:03:41 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7084726</guid><dc:creator>Gr8Onkar</dc:creator><author>Gr8Onkar</author><description>&lt;p&gt;Hi Fabrice,&lt;/p&gt;
&lt;p&gt;Can we partially format drop-down list text?&lt;/p&gt;
&lt;p&gt;For ex, 'Invalid' item text should be formatted as 'In' in 'Red' color and 'valid' in 'Blue' color.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7084726" width="1" height="1"&gt;</description></item><item><title>re: DropDownList with custom attributes on the items</title><link>http://weblogs.asp.net/fmarguerie/archive/2003/02/27/dropdownlist-with-custom-attributes-on-the-items.aspx#7084707</link><pubDate>Wed, 13 May 2009 06:45:08 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7084707</guid><dc:creator>Tuba</dc:creator><author>Tuba</author><description>&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;I love this code but there&amp;#39;s a problem.. I&amp;#39;m not working this.. Could you help me, pls.. &lt;/p&gt;
&lt;p&gt;Html source is not true ?...&lt;/p&gt;
&lt;p&gt;Thanks for your share...&lt;/p&gt;
&lt;p&gt;Have a nice day...&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7084707" width="1" height="1"&gt;</description></item><item><title>La propriet</title><link>http://weblogs.asp.net/fmarguerie/archive/2003/02/27/dropdownlist-with-custom-attributes-on-the-items.aspx#6427034</link><pubDate>Mon, 21 Jul 2008 12:34:13 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6427034</guid><dc:creator>Francesco Geri</dc:creator><author>Francesco Geri</author><description>&lt;p&gt;La propriet&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6427034" width="1" height="1"&gt;</description></item><item><title>re: DropDownList with custom attributes on the items</title><link>http://weblogs.asp.net/fmarguerie/archive/2003/02/27/dropdownlist-with-custom-attributes-on-the-items.aspx#2561712</link><pubDate>Sat, 12 May 2007 08:44:18 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:2561712</guid><dc:creator>tinker</dc:creator><author>tinker</author><description>About the border and arrow color for the Dropdown - could you possibly explain the skin/theme or show it to us.  Default XP blue (even on Vista) clashes with the background I want to use, and nothing I am doing to try to change the dropdown colors is making any difference...

Thanks.&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=2561712" width="1" height="1"&gt;</description></item></channel></rss>