﻿<?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 - WebCombo - Webcombo 2 client side filtering</title><link>http://www.intersoftsolutions.com/Community/WebCombo/Webcombo-2-client-side-filtering/</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 2 client side filtering</title><link>http://www.intersoftsolutions.com/Community/WebCombo/Webcombo-2-client-side-filtering/</link><pubDate>Thu, 22 Oct 2009 07:03:27 GMT</pubDate><dc:creator>aloisius</dc:creator><description>&lt;p&gt;hi yudi&lt;/p&gt;&lt;p&gt;i will modify webschedule event editing form (EditingForm.aspx - intersoft default form). i need modify wcResources, adding filter to this combo box in client side. but if runs the filter always get clear combobox. &lt;br /&gt;&lt;/p&gt;
&lt;p&gt;it my script :&lt;/p&gt;
&lt;p&gt;function filterLocation()&lt;br /&gt; {&lt;br /&gt; var wcResources = ISGetObject("wcResources");&lt;br /&gt; wcResources.SetAdditionalFilters("[ResourceDescription]='loc1'" );&lt;br /&gt; }&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;aloisius&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Webcombo 2 client side filtering</title><link>http://www.intersoftsolutions.com/Community/WebCombo/Webcombo-2-client-side-filtering/</link><pubDate>Fri, 11 Sep 2009 09:15:14 GMT</pubDate><dc:creator>grhind@coyotecorp.com</dc:creator><description>&lt;p&gt;Thank you very much&lt;/p&gt;</description></item><item><title>Webcombo 2 client side filtering</title><link>http://www.intersoftsolutions.com/Community/WebCombo/Webcombo-2-client-side-filtering/</link><pubDate>Thu, 10 Sep 2009 23:13:39 GMT</pubDate><dc:creator>yudi@intersoftpt.com</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;I checked the attached sample in your first post and I suspect that the SetAdditionalFilter fails because you are using unbound WebCombo. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;The cboResource is unbound WebCombo (I conclude this from PopulateUnboundData method that is used in LoadUnboundWebCombo_v2 server side event). I suggest you to use bound WebCombo. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0in 0in 0pt" class="MsoNormal"&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt; mso-themecolor: text2"&gt;Hope this helps. &lt;/span&gt;&lt;/p&gt;</description></item><item><title>Webcombo 2 client side filtering</title><link>http://www.intersoftsolutions.com/Community/WebCombo/Webcombo-2-client-side-filtering/</link><pubDate>Thu, 10 Sep 2009 08:31:11 GMT</pubDate><dc:creator>grhind@coyotecorp.com</dc:creator><description>&lt;p&gt;Thanks Yudi... I don't have the Northwind database installed so i can't test your sample... would you be able to take a look at the sample i attached in my first post?  As you can see i've attempted to use many attempts at the right syntax and nothing seems to work.  &lt;/p&gt;</description></item><item><title>Webcombo 2 client side filtering</title><link>http://www.intersoftsolutions.com/Community/WebCombo/Webcombo-2-client-side-filtering/</link><pubDate>Thu, 10 Sep 2009 06:05:43 GMT</pubDate><dc:creator>yudi@intersoftpt.com</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Thank you for submitting your issue in our community forum. However, WebCombo 2.0 was discontinued for quite sometime. I’d recommend you to upgrade to WebCombo 4 as it includes many new features and fixes over the previous version. You might want to evaluate the 30-day trial of WebCombo 4 from the following link, &lt;a href="http://www.intersoftpt.com/RequestTrial.aspx"&gt;http://www.intersoftpt.com/RequestTrial.aspx&lt;/a&gt;.&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 will try to do my best to assist you to solve the issue.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Please try to set the additional filter of WebCombo 2.0 by using following syntax.&lt;br /&gt;&lt;span style="font-family: 'courier new'; color: #000000; font-size: 9pt"&gt;Wc_setAdditionalFilters(‘&lt;i&gt;WebCombo instance ID&lt;/i&gt;’, “[&lt;i&gt;Column name&lt;/i&gt;] = “ &amp;#43; &lt;i&gt;the additional filter value&lt;/i&gt;);&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;For example, if there are two WebCombo, product WebCombo and category WebCombo. Product WebCombo is a WebCombo that shows list of products from Product table of Northwind database. And Category WebCombo is a WebCombo that shows list of categories from Categories table of Northwind database. The product WebCombo is filtered based on certain category selected in the category WebCombo. Please try to use following code.&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;wc_setAdditionalFilters( 'wcbProducts', "[CategoryID] = " &amp;#43; wc_States['wcbCategories'].Value );&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;For more detail, please download the sample from &lt;a href="http://support.intersoftpt.com/tdn/Downloads/PopulateDDLSetAdditionalFilter.zip" target="_blank"&gt;here&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Webcombo 2 client side filtering</title><link>http://www.intersoftsolutions.com/Community/WebCombo/Webcombo-2-client-side-filtering/</link><pubDate>Wed, 09 Sep 2009 09:25:35 GMT</pubDate><dc:creator>grhind@coyotecorp.com</dc:creator><description>&lt;p&gt;I'm using version 2.0 of the Webcombo so hopefully i'm not to far out of date&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I'm trying to get client side filtering to work... i've supplied a sample project with just one combo and one button...&lt;/p&gt;
&lt;p&gt;the combo is loaded with 2 columns and 6 rows of data&lt;/p&gt;
&lt;p&gt;the button calls a javascript function called UpdateFilter which in turn calls wc_setAdditionalFilters&lt;/p&gt;
&lt;p&gt;I've used the following commands and everytime it runs it just clears out the whole combo... what am i doing wrong?&lt;/p&gt;
&lt;p&gt;None of these commands seem to work&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;wc_setAdditionalFilters('cboResource' , 'ID="6"');&lt;/p&gt;
&lt;p&gt;wc_setAdditionalFilters('cboResource' , '[ID]="6"');&lt;/p&gt;
&lt;p&gt;wc_setAdditionalFilters('cboResource' , '[ID]=6');&lt;/p&gt;
&lt;p&gt;wc_setAdditionalFilters('cboResource' , 'ID=6');&lt;/p&gt;
&lt;p&gt;wc_setAdditionalFilters('cboResource' , '[Name]="name6"');&lt;/p&gt;
&lt;p&gt;wc_setAdditionalFilters('cboResource' , 'Name="name6"');&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Anyone have any ideas?&lt;/p&gt;</description></item></channel></rss>