﻿<?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 - How can i set other webcombo's values at ontheflypostback?</title><link>http://www.intersoftsolutions.com/Community/WebCombo/how-can-i-set-other-webcombos-values-at-ontheflypostback/</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>How can i set other webcombo's values at ontheflypostback?</title><link>http://www.intersoftsolutions.com/Community/WebCombo/how-can-i-set-other-webcombos-values-at-ontheflypostback/</link><pubDate>Thu, 26 Nov 2009 14:07:44 GMT</pubDate><dc:creator>ands</dc:creator><description>&lt;p&gt;... we have to take care about perfomance&lt;/p&gt;
&lt;p&gt;thank you for support&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Andrzej&lt;/p&gt;</description></item><item><title>How can i set other webcombo's values at ontheflypostback?</title><link>http://www.intersoftsolutions.com/Community/WebCombo/how-can-i-set-other-webcombos-values-at-ontheflypostback/</link><pubDate>Thu, 26 Nov 2009 03:46:19 GMT</pubDate><dc:creator>Glayaar</dc:creator><description>&lt;p&gt;I have confirmed the linked WebCombo behavior with the developer. Your assessment is correct, by default the WebCombo will retrieve all the value and filter the data based on the WebCombo 1 selection.&lt;/p&gt;&lt;p&gt;On the other hand, the method you are using in your provide sample will only retrieve partial row based on the selection of the WebCombo1.  &lt;br /&gt;&lt;/p&gt;</description></item><item><title>How can i set other webcombo's values at ontheflypostback?</title><link>http://www.intersoftsolutions.com/Community/WebCombo/how-can-i-set-other-webcombos-values-at-ontheflypostback/</link><pubDate>Tue, 24 Nov 2009 12:40:06 GMT</pubDate><dc:creator>ands</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;In my app. I've more complicated situation , so Linked WebCombo solution is out.  Maybe I'm wrong, but I suppose that linked Webcombo don't create SQL syntax with conditions, but only filter cached data.How feel linked WebCombo with more than 1milion record in database ?&lt;/p&gt;
&lt;p&gt;BTW, your suggestion about UpdateState() is perfect&lt;/p&gt;
&lt;p&gt;Here is full javascript :&lt;/p&gt;&lt;span style="color: #0000ff; font-size: 8pt"&gt;&lt;span style="color: #0000ff; font-size: 8pt"&gt;&lt;blockquote style="margin-right: 0px" dir="ltr"&gt;&lt;p&gt;&lt;span style="font-size: 8pt"&gt;function&lt;/span&gt;&lt;span style="font-size: 8pt"&gt; WebCombo1_OnAfterItemSelected(controlId) {&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size: 8pt"&gt;&lt;span style="color: #0000ff"&gt;&lt;span style="color: #0000ff"&gt;var&lt;/span&gt;&lt;/span&gt; WebCombo1 = ISGetObject(&lt;span style="color: #a31515"&gt;&lt;span style="color: #a31515"&gt;"WebCombo1"&lt;/span&gt;&lt;/span&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size: 8pt"&gt;&lt;span style="color: #0000ff"&gt;&lt;span style="color: #0000ff"&gt;var&lt;/span&gt;&lt;/span&gt; WebCombo2 = ISGetObject(&lt;span style="color: #a31515"&gt;&lt;span style="color: #a31515"&gt;"WebCombo2"&lt;/span&gt;&lt;/span&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size: 8pt"&gt;WebCombo2.ClearSelection();&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size: 8pt"&gt;&lt;span style="color: #0000ff"&gt;&lt;span style="color: #0000ff"&gt;var&lt;/span&gt;&lt;/span&gt; wc1CatID = WebCombo1.Value;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size: 8pt"&gt;&lt;span style="color: #0000ff"&gt;&lt;span style="color: #0000ff"&gt;switch&lt;/span&gt;&lt;/span&gt; (wc1CatID) {&lt;/span&gt;&lt;span style="font-size: 8pt"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size: 8pt"&gt;&lt;span style="color: #0000ff"&gt;&lt;span style="color: #0000ff"&gt;case&lt;/span&gt;&lt;/span&gt; &lt;span style="color: #a31515"&gt;&lt;span style="color: #a31515"&gt;"1"&lt;/span&gt;&lt;/span&gt;: &lt;br /&gt;&lt;/span&gt;&lt;span style="font-size: 8pt"&gt;WebCombo2.SetText(&lt;span style="color: #a31515"&gt;&lt;span style="color: #a31515"&gt;"Chai"&lt;/span&gt;&lt;/span&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size: 8pt"&gt;&lt;span style="color: #0000ff"&gt;&lt;span style="color: #0000ff"&gt;break&lt;/span&gt;&lt;/span&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size: 8pt"&gt;&lt;span style="color: #0000ff"&gt;&lt;span style="color: #0000ff"&gt;case&lt;/span&gt;&lt;/span&gt; &lt;span style="color: #a31515"&gt;&lt;span style="color: #a31515"&gt;"2"&lt;/span&gt;&lt;/span&gt;:&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size: 8pt"&gt;WebCombo2.SetText(&lt;span style="color: #a31515"&gt;&lt;span style="color: #a31515"&gt;"Aniseed Syrup"&lt;/span&gt;&lt;/span&gt;);&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size: 8pt"&gt;&lt;span style="color: #0000ff"&gt;&lt;span style="color: #0000ff"&gt;break&lt;/span&gt;&lt;/span&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size: 8pt"&gt;&lt;span style="color: #0000ff"&gt;&lt;span style="color: #0000ff"&gt;default&lt;/span&gt;&lt;/span&gt;:&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size: 8pt"&gt;WebCombo2.IsDirty = &lt;span style="color: #0000ff"&gt;&lt;span style="color: #0000ff"&gt;true&lt;/span&gt;&lt;/span&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size: 8pt"&gt;WebCombo2.NeedClearList = &lt;span style="color: #0000ff"&gt;&lt;span style="color: #0000ff"&gt;true&lt;/span&gt;&lt;/span&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size: 8pt"&gt;&lt;span style="color: #0000ff"&gt;&lt;span style="color: #0000ff"&gt;break&lt;/span&gt;&lt;/span&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size: 8pt"&gt;}&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size: 8pt"&gt;WebCombo1.UpdateState();&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size: 8pt"&gt;WebCombo2.LoadValue();&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size: 8pt"&gt;} &lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;/span&gt;&lt;/span&gt;
&lt;p dir="ltr"&gt;&lt;span style="font-size: 8pt"&gt;&lt;/span&gt; &lt;/p&gt;
&lt;p dir="ltr"&gt;&lt;span style="font-size: 8pt"&gt;I tested and IsDirty and NeedClearList must be set to true, in other way we receive unexpected result.&lt;/span&gt;&lt;/p&gt;
&lt;p dir="ltr"&gt;&lt;span style="font-size: 8pt"&gt;Thank you&lt;/span&gt;&lt;/p&gt;
&lt;p dir="ltr"&gt;&lt;span style="font-size: 8pt"&gt;Andrzej&lt;/span&gt;&lt;/p&gt;</description></item><item><title>How can i set other webcombo's values at ontheflypostback?</title><link>http://www.intersoftsolutions.com/Community/WebCombo/how-can-i-set-other-webcombos-values-at-ontheflypostback/</link><pubDate>Tue, 24 Nov 2009 03:34:04 GMT</pubDate><dc:creator>Glayaar</dc:creator><description>&lt;p&gt;For such scenario, we recommend using Linked WebCombo feature. I have taken the liberty of modifying the sample to use Linked WebCombo feature to simplify the scenario, the after WebCombo1 item selected will also correctly set the WebCombo2 item in the modified sample.&lt;/p&gt;&lt;p&gt;In order to update the WebCombo1 value, you will need to call the function WebCombo1.UpdateState();&lt;br /&gt;&lt;/p&gt;</description></item><item><title>How can i set other webcombo's values at ontheflypostback?</title><link>http://www.intersoftsolutions.com/Community/WebCombo/how-can-i-set-other-webcombos-values-at-ontheflypostback/</link><pubDate>Mon, 23 Nov 2009 08:53:57 GMT</pubDate><dc:creator>ands</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;see attachment.&lt;/p&gt;</description></item><item><title>How can i set other webcombo's values at ontheflypostback?</title><link>http://www.intersoftsolutions.com/Community/WebCombo/how-can-i-set-other-webcombos-values-at-ontheflypostback/</link><pubDate>Sun, 22 Nov 2009 23:34:20 GMT</pubDate><dc:creator>Glayaar</dc:creator><description>&lt;p&gt;Could you provide us with a client side snippet and the server side event you are using, in order for us to replicate the issue you are having?&lt;/p&gt;</description></item><item><title>How can i set other webcombo's values at ontheflypostback?</title><link>http://www.intersoftsolutions.com/Community/WebCombo/how-can-i-set-other-webcombos-values-at-ontheflypostback/</link><pubDate>Sat, 21 Nov 2009 06:15:56 GMT</pubDate><dc:creator>ands</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have similar problem, but I don't use SendCustomRequest(), but LoadValue() on combo2 and combo3 (it should be more efficient), Problem is on the server side I can't read Value of the combo1 (WHY!!!)  - It's a  BUG. We can obey this if, I write combo1.Value to some hidden fields and read this one on  the server - but it's not prof.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Any idea?&lt;/p&gt;</description></item><item><title>How can i set other webcombo's values at ontheflypostback?</title><link>http://www.intersoftsolutions.com/Community/WebCombo/how-can-i-set-other-webcombos-values-at-ontheflypostback/</link><pubDate>Thu, 15 Oct 2009 05:17:41 GMT</pubDate><dc:creator>Glayaar</dc:creator><description>&lt;p&gt;Here is a simple sample of the solution for the scenario. During the server side event, you could use the invokeScript function to call a JS function to set the value of the WebCombo. This method will be the more efficient compared to refreshing the WebCombo programatically in the server side.&lt;/p&gt;</description></item><item><title>How can i set other webcombo's values at ontheflypostback?</title><link>http://www.intersoftsolutions.com/Community/WebCombo/how-can-i-set-other-webcombos-values-at-ontheflypostback/</link><pubDate>Tue, 13 Oct 2009 09:49:23 GMT</pubDate><dc:creator>somer@optima.com.tr</dc:creator><description>&lt;p&gt;In a LOB application, i have page with 3 webcombos for project, company,person.. &lt;br /&gt;I want to change company and person webcombo values when user select a row at project webcombo. &lt;br /&gt;To do that, when project webcombo value changed "&lt;strong&gt;OnAfterItemSelected&lt;/strong&gt;" event triggered, and from that with the help of "&lt;strong&gt;SendCustomRequest()&lt;/strong&gt;" server side event is triggered.&lt;br /&gt;In the server side event, i do some db queries, then set values of company and person webcombos.&lt;br /&gt;But in the clientside, company and person webcombos are not updated.&lt;br /&gt;How can i do it?&lt;/p&gt;
&lt;p&gt;Note: Webcombos are connected to ISLinqDataSource&lt;/p&gt;</description></item></channel></rss>