﻿<?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 - WebGrid - Compare cell values in two grids on same page</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid---Compare-cell-values-in-two-grids-on-same-page/</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>WebGrid - Compare cell values in two grids on same page</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid---Compare-cell-values-in-two-grids-on-same-page/</link><pubDate>Mon, 27 Jun 2011 00:51:32 GMT</pubDate><dc:creator>JNguimb</dc:creator><category>webgrid 7.0</category><description>&lt;br /&gt;Works great.&amp;nbsp; &lt;br /&gt;&lt;br /&gt;Thank you.&lt;br /&gt;Jean&lt;br /&gt;</description></item><item><title>WebGrid - Compare cell values in two grids on same page</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid---Compare-cell-values-in-two-grids-on-same-page/</link><pubDate>Sun, 26 Jun 2011 23:31:27 GMT</pubDate><dc:creator>Riendy</dc:creator><category>webgrid 7.0</category><description>&lt;p&gt;Hi Jean,&lt;/p&gt;&lt;p&gt;I have modified your sample. In your sample, WebGrid1 doesn't get data programmatically, so I added RetreiveStructure method in WebGrid1 PrepareDataBinding Event. Then I added validation to hide columns which are have a same TaskID and Subject value in WebGrid2 in WebGrid1 InitializeRow Event. Last, I added WebGrid1 Refresh method when GetRecords button clicked.&lt;/p&gt;
&lt;p&gt;Note: I delete "User Instance=True" in all connection string to run your sample here.&lt;/p&gt;
&lt;p&gt;Could you please let me know is my modified runs as like as your expectation ?&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Riendy&lt;/p&gt;</description></item><item><title>WebGrid - Compare cell values in two grids on same page</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid---Compare-cell-values-in-two-grids-on-same-page/</link><pubDate>Fri, 24 Jun 2011 02:08:17 GMT</pubDate><dc:creator>JNguimb</dc:creator><category>webgrid 7.0</category><description>&lt;p&gt;Hello Riendy,&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 10pt"&gt;&lt;span style="mso-ansi-language: en-us"&gt;&lt;span style="font-size: 15px"&gt;&lt;span style="font-family: calibri"&gt;Thank you.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;Your sample worked based on the explanation I gave you. Unfortunately, I gave you incomplete information. So this solution solved only half of the problem.&lt;span style="mso-spacerun: yes"&gt;  &lt;/span&gt;I have attached a new simple so that you can see what I am trying to do.
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 10pt"&gt;&lt;span style="mso-ansi-language: en-us"&gt;&lt;span style="font-size: 15px"&gt;&lt;span style="font-family: calibri"&gt;Basically, I need to select and retrieve records into &lt;i style="mso-bidi-font-style: normal"&gt;Table 2&lt;/i&gt; based on criteria in textbox and dropdown list, and simultaneously hide (or not retrieve) all rows in &lt;i style="mso-bidi-font-style: normal"&gt;Table 1&lt;/i&gt; that have the same &lt;i style="mso-bidi-font-style: normal"&gt;TaskID&lt;/i&gt; and Subject as rows in Table 2.
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 10pt"&gt;&lt;span style="mso-ansi-language: en-us"&gt;&lt;span style="font-size: 15px"&gt;&lt;span style="font-family: calibri"&gt;Could you please adjust the attached sample to help me to achieve this scenario? 
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 10pt"&gt;&lt;span style="mso-ansi-language: en-us"&gt;&lt;span style="font-size: 15px"&gt;&lt;span style="font-family: calibri"&gt;Regards
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="line-height: 115%; font-family: 'calibri','sans-serif'; font-size: 11pt; mso-ansi-language: en-us; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'times new roman'; mso-bidi-theme-font: minor-bidi; mso-fareast-language: en-us; mso-bidi-language: ar-sa"&gt;Jean&lt;/span&gt;&lt;/p&gt;</description></item><item><title>WebGrid - Compare cell values in two grids on same page</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid---Compare-cell-values-in-two-grids-on-same-page/</link><pubDate>Wed, 22 Jun 2011 02:31:40 GMT</pubDate><dc:creator>Riendy</dc:creator><category>webgrid 7.0</category><description>&lt;p&gt;Hi Jean,&lt;/p&gt;&lt;p&gt;To Hide all rows which have a simillar value/text of TaskID and UserID in both grids (WebGrid1 and WebGrid2), you have to validate the rows in WebGrid1 on InitializeRow Event after you set both of the WEbGrid's DataSource. For your information, there's no need to change the WebGrid's code (server side) whether the Webgrid located inside or outside WebPaneManager. &lt;/p&gt;
&lt;p&gt;Attached is my simple runable sample. Please describe me more detail if my sample is different with your scenario.&lt;br /&gt;&lt;br /&gt;Thank you.&lt;br /&gt;Riendy&lt;/p&gt;</description></item><item><title>WebGrid - Compare cell values in two grids on same page</title><link>http://www.intersoftsolutions.com/Community/WebGrid/WebGrid---Compare-cell-values-in-two-grids-on-same-page/</link><pubDate>Tue, 21 Jun 2011 14:36:35 GMT</pubDate><dc:creator>JNguimb</dc:creator><category>webgrid 7.0</category><description>&lt;p&gt;Hello:&lt;/p&gt;
&lt;p&gt;I have two grids (WebGrid1 and WebGrid2) on the same page (see attached image).  The two grids are located in WebPaneManager1.&lt;/p&gt;
&lt;p&gt;I need help with the following:&lt;/p&gt;
&lt;p&gt;On initialize, I would like all the rows in WebGrid1 to be hidden immediately where the value/text of TaskID and UserID is the same in both grids.&lt;/p&gt;
&lt;p&gt;A sample code would be much appreciated.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Jean&lt;/p&gt;</description></item></channel></rss>