﻿<?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 - get and set value in webcombo from javascipt</title><link>http://www.intersoftsolutions.com/Community/WebCombo/get-and-set-value-in-webcombo-from-javascipt/</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>get and set value in webcombo from javascipt</title><link>http://www.intersoftsolutions.com/Community/WebCombo/get-and-set-value-in-webcombo-from-javascipt/</link><pubDate>Thu, 22 Oct 2015 02:46:19 GMT</pubDate><dc:creator>yudi</dc:creator><category>WebCombo</category><category>multiple selection</category><description>&lt;blockquote&gt;&lt;p&gt;... your code snippet helped me a lot.&lt;img id="" src="https://www.intersoftsolutions.com/assets/images/legacy/smiley1.gif" style="font-size: 10pt; border: none;"&gt; ...&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Glad to know that the snippet code of &lt;strong&gt;GetMultipleValuesText()&lt;/strong&gt;, &lt;strong&gt;GetMultipleValuesValue()&lt;/strong&gt;, and &lt;strong&gt;SetMultipleValues(text, value)&lt;/strong&gt; helps.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #1f497d;"&gt;For more detail information about those methods, you can find them in WebCombo documentation. Should you need further assistance or run into any problems regarding our controls, feel free to post it into our forum. We would be happy to assist you again.&lt;/span&gt;&lt;/p&gt;
&lt;blockquote&gt;I need to find event of webcombo when the value is changed in Jquery(Javascript).&lt;/blockquote&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;You can try to use &lt;strong&gt;OnAfterItemSelected&lt;/strong&gt; client-side event of WebCombo. This event fired after an item is selected.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;This sample, &lt;a href="http://live.intersoftsolutions.com/cs/WebCombo/Client_AdditionalFilters.aspx?noframe=1" target="_blank"&gt;Client_AdditionalFilters.aspx&lt;/a&gt;, shows how to add an additional filter (to filter the webcombo's result) from client-side by utilizing &lt;strong&gt;OnAfterItemSelected&lt;/strong&gt; client-side event.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;I am willing to advise you further on this question but in order to do so I would need you to create a new thread/ticket (since this event of WebCombo topic is different from the topic discussed within this thread, to get and set value in multiple selection webcombo from javascipt). I'm sure that the new thread will helps other member which might have similar question.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Thank you very much for your understanding and cooperation. Hope this helps.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>get and set value in webcombo from javascipt</title><link>http://www.intersoftsolutions.com/Community/WebCombo/get-and-set-value-in-webcombo-from-javascipt/</link><pubDate>Wed, 21 Oct 2015 12:05:11 GMT</pubDate><dc:creator>sjain</dc:creator><category>WebCombo</category><category>multiple selection</category><description>&lt;p&gt;Hi Yudi,&lt;/p&gt;&lt;p&gt;Thanks for the &amp;nbsp;immediate reply.&lt;/p&gt;&lt;p&gt;your code snippet helped me a lot.&amp;nbsp;&lt;img id="" src="https://www.intersoftsolutions.com/assets/images/legacy/smiley1.gif" style="font-size: 10pt; border: none;"&gt;&lt;/p&gt;&lt;p&gt;I need to find event of webcombo when the value is changed in Jquery(Javascript).&lt;/p&gt;&lt;p&gt;Could you please help me?&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;Regards&lt;/p&gt;&lt;p&gt;Sachin Jain&lt;/p&gt;</description></item><item><title>get and set value in webcombo from javascipt</title><link>http://www.intersoftsolutions.com/Community/WebCombo/get-and-set-value-in-webcombo-from-javascipt/</link><pubDate>Wed, 21 Oct 2015 03:05:20 GMT</pubDate><dc:creator>yudi</dc:creator><category>WebCombo</category><category>multiple selection</category><description>&lt;p&gt;&lt;span style="color: #1f497d;"&gt;To get the &lt;strong&gt;text&lt;/strong&gt; and &lt;strong&gt;value&lt;/strong&gt; of multiple selection WebCombo using &lt;strong&gt;GetMultipleValuesText&lt;/strong&gt; and &lt;strong&gt;GetMultipleValuesValue&lt;/strong&gt; methods. Following snippet code shows how:&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;function GetValues(){    var WebCombo1 = ISGetObject("WebCombo1");
    var selectedValues = WebCombo1.GetMultipleValuesValue();
    var selectedText = WebCombo1.GetMultipleValuesText();

    alert(selectedValues);
    alert(selectedText);

    return true;
}&lt;/pre&gt;&lt;br&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;To set the &lt;strong&gt;text&lt;/strong&gt; and &lt;strong&gt;value&lt;/strong&gt; of multiple selection WebCombo using &lt;strong&gt;SetMultipleValues(text, value)&lt;/strong&gt; methods. The method has two parameters, they are: &lt;em&gt;text&lt;/em&gt;, &lt;em&gt;value&lt;/em&gt;. The text part is list of text (DataTextField) separated by &lt;em&gt;SeparatorChar&lt;/em&gt;. The value part is list of value (DataValueField) separated by &lt;em&gt;SeparatorChar&lt;/em&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;For example: suppose I have a multiple selection WebCombo showing list of Employees with SeparatorChar is set to ";".&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&amp;lt;ISWebCombo:WebCombo ID="WebCombo1" runat="server" UseDefaultStyle="True"
    DataTextField="FirstName" DataValueField="EmployeeID"
    Width="477px" Height="20px"&amp;gt;
    &amp;lt;Columns&amp;gt;
        ...
    &amp;lt;/Columns&amp;gt;
    &amp;lt;MultipleSelectionSettings Enabled="True" SeparatorChar=";" /&amp;gt;
    &amp;lt;LayoutSettings ComboMode="MultipleColumns" TextBoxMode="ReadOnly" ...&amp;gt;
    &amp;lt;/LayoutSettings&amp;gt;
&amp;lt;/ISWebCombo:WebCombo&amp;gt;&lt;/pre&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;The text part is the list of FirstName of Employees, for example: "Nancy;Andrew;Janet". And the value part is the list of EmployeeID of Employees, for example: "1;2;3".&lt;br&gt;
Following snippet code shows how:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;function SetValues()
{
    var WebCombo1 = ISGetObject("WebCombo1");

    WebCombo1.SetMultipleValues("Nancy;Andrew;Janet", "1;2;3");
    WebCombo1.RefreshTextByValueItems();

    return true;
}&lt;/pre&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Hope this helps.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>get and set value in webcombo from javascipt</title><link>http://www.intersoftsolutions.com/Community/WebCombo/get-and-set-value-in-webcombo-from-javascipt/</link><pubDate>Tue, 20 Oct 2015 16:14:27 GMT</pubDate><dc:creator>sjain</dc:creator><category>WebCombo</category><category>multiple selection</category><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I have webcombo on page which is having multi selection mode.&lt;/p&gt;&lt;p&gt;I need to get and set value from javascript.&lt;/p&gt;&lt;p&gt;(whatever value is checked or unchecked i need to get and set the same)&lt;/p&gt;&lt;p&gt;Please look the attachment.&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;</description></item></channel></rss>