﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - lookup</title><link>http://www.intersoftsolutions.com/Community/Tags/lookup/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Webcombo textvalue not shown when onselecting set in linqdatasource</title><link>http://www.intersoftsolutions.com/Community/Tags/lookup/</link><pubDate>Wed, 04 Apr 2012 11:05:04 GMT</pubDate><dc:creator>beyti77</dc:creator><category>WebCombo</category><category>LinqDataSource</category><category>onselecting</category><category>lookup</category><category>textvaluefield</category><category>webcombo onselecting linqdatasource</category><description>&lt;p&gt;I set a linqdatasource to a webcombo and set its value field to "Id" and text value field to "Name" and when no onselecting event is set to linqdatasource; all of the text values are shown as expected. &lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;But when I set a onselecting event to the linqdatasource just to filter the values to only get the values when "Type" column is "1"; webcombo shows the Id values instead of the text values "Name".&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;onselecting event is like:&lt;/p&gt;
&lt;p&gt;dataSource1.Where = @"Type = 1"&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;</description></item></channel></rss>