﻿<?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 - WebGrid Enterprise - WegGrid DropDownList filter as only one selection: Loading...</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WegGrid/</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>WegGrid DropDownList filter as only one selection: Loading...</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WegGrid/</link><pubDate>Wed, 18 Nov 2009 04:06:50 GMT</pubDate><dc:creator>yudi</dc:creator><category>WebGrid-Filter-DropdownList</category><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;I created a simple sample based on your requirement, to generate column and value list at runtime.&lt;br /&gt;Please have the attached sample tested on your end and let us know whether it helps or not.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>WegGrid DropDownList filter as only one selection: Loading...</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WegGrid/</link><pubDate>Tue, 17 Nov 2009 13:34:08 GMT</pubDate><dc:creator>p.belanger@cgi.com</dc:creator><category>WebGrid-Filter-DropdownList</category><description>&lt;p&gt;Hi Yudi,&lt;/p&gt;
&lt;p&gt;The example you provided is for a column which is created at compiled time.&lt;/p&gt;
&lt;p&gt;In my case, the column is created at runtime.&lt;/p&gt;
&lt;p&gt;In your example, there is a ValueList attribute in the GridColumn. &lt;/p&gt;&lt;span style="font-size: 13px"&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;ValueList&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;DataMember&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;="Employees"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;DataTextField&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;="LastName"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;DataValueField&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;="EmployeeID"&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;ValueList&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&amp;gt;
&lt;/span&gt;&lt;/span&gt;
&lt;p&gt;It is not present in the code generated at runtime (see below). &lt;/p&gt;
&lt;p&gt;How can I genererate the ValueList attibute when creating the grid column?&lt;/p&gt;
&lt;p&gt;  &amp;lt;WebGridColumn Name="MEOwner" DataMember="MEOwner" Caption="ME Owner" &lt;br /&gt;                EditType="DropdownList" ColumnType="Custom" &lt;br /&gt;                ShowInSelectColumns="No" Position="9" Width="120px" AllowMultiLine="True" FilterEditType="DropdownList" /&amp;gt;&lt;/p&gt;</description></item><item><title>WegGrid DropDownList filter as only one selection: Loading...</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WegGrid/</link><pubDate>Fri, 13 Nov 2009 01:06:54 GMT</pubDate><dc:creator>yudi</dc:creator><category>WebGrid-Filter-DropdownList</category><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Please ensure that you’ve set the value of “EditType” property to “DropDownList” and have correctly set the ValueList.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;We have a sample (start &amp;gt; All Programs &amp;gt; Intersoft WebUI Studio 2009 R1 SP1 &amp;gt; C# Samples (Visual Studio 2008 Solution) &amp;gt; EditorTypes.aspx) that shows how to use “DropDownList” as WebGrid editor type. Please modify the sample so that it replicates the issue and then send it back to us to be investigated further.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>WegGrid DropDownList filter as only one selection: Loading...</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WegGrid/</link><pubDate>Thu, 12 Nov 2009 12:15:19 GMT</pubDate><dc:creator>p.belanger@cgi.com</dc:creator><category>WebGrid-Filter-DropdownList</category><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I am trying to add a dropdownlist in a specific column in WebGrid. I have specifed the FilterEditType as DropdownList.&lt;/p&gt;
&lt;p&gt;But when I try to select a value in the list, I only see "Loading..."&lt;/p&gt;
&lt;p&gt;No other choise is displayed.&lt;/p&gt;
&lt;p&gt;If i change the type to TextBox, I can enter a value and it works.&lt;/p&gt;
&lt;p&gt;What should I do to have a list of all available selections?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;        grdColumn = CreateGridColumn(objGridTable, "MEtest")&lt;br /&gt;            With grdColumn&lt;br /&gt;                .Caption = GetLanguageTagName("MEtest")&lt;br /&gt;                .DataMember = "MEtest"&lt;br /&gt;                .ColumnType = ISNet.WebUI.WebGrid.ColumnType.Custom&lt;br /&gt;                .AllowMultiLine = True&lt;br /&gt;                .EditType = ISNet.WebUI.WebGrid.EditType.NoEdit&lt;br /&gt;                .FilterEditType = ISNet.WebUI.WebGrid.FilterEditType.DropdownList&lt;br /&gt;                 .Visible = True&lt;br /&gt;            End With&lt;/p&gt;</description></item></channel></rss>