﻿<?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 - Question setting cell value that evaluates another column for the data</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Question-setting-cell-value-that-evaluates-another-column-for-the-data/</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>Question setting cell value that evaluates another column for the data</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Question-setting-cell-value-that-evaluates-another-column-for-the-data/</link><pubDate>Mon, 11 Jan 2010 23:54:07 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;I’d like to offer a solution for your scenario.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;I suggest you to use SetAdditionalFilters() client side method to filter the data showed by WebCombo based on the value of “Column1”.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;I enclosed a simple page as attachment based on your scenario. In the attached sample, “ProductName” column uses WebCombo as its edit type. The list of products showed in the WebCombo is filtered based on another column, CategoryID column. For more detail, please check the attached sample.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Hope this helps.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Question setting cell value that evaluates another column for the data</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Question-setting-cell-value-that-evaluates-another-column-for-the-data/</link><pubDate>Mon, 11 Jan 2010 11:32:41 GMT</pubDate><dc:creator>tlusby</dc:creator><description>&lt;p&gt;I have a webcombo that needs to build dynamically based on a value of another column.  &lt;/p&gt;
&lt;p&gt;WebGrid1_InitializeLayout -&amp;gt; I use a ValueList to display the description.  (ie.:Displays Chicken instead of 1.)&lt;/p&gt;
&lt;p&gt;WebGrid1_InitializeRow --&amp;gt; I want to evaluate one column that will determine what values should be displayed in the webcombo of another column.  In this column, I need to dynamically create the webcombo.  I don't see how to set the valuelist for this cell.&lt;/p&gt;
&lt;p&gt;Example scenario below:&lt;/p&gt;
&lt;p&gt;Column1   --&amp;gt; Can have a value of the following:  (Meat, Fruit, Veggies)  &lt;/p&gt;
&lt;p&gt;Column2  --&amp;gt; Has a list of meats or fruits or Veggies&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;If Column1 = Meats&lt;/p&gt;
&lt;p&gt;Column2 = Chicken Fish Beef &amp;lt;-- in the webcombo&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;If Column1 = Fruit&lt;/p&gt;
&lt;p&gt;Column2 = Strawberries Pineapples Apples&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;if Column1 = Veggies&lt;/p&gt;
&lt;p&gt;Column2 = Green Breans, Corn, Potatoes&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item></channel></rss>