﻿<?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 - Dynamic WebCombo</title><link>http://www.intersoftsolutions.com/Community/WebCombo/Dynamic-WebCombo/</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>Dynamic WebCombo</title><link>http://www.intersoftsolutions.com/Community/WebCombo/Dynamic-WebCombo/</link><pubDate>Mon, 28 Jun 2010 05:29:47 GMT</pubDate><dc:creator>kenny.yung</dc:creator><description>&lt;p&gt;Great! Thanks Yudi.&lt;/p&gt;</description></item><item><title>Dynamic WebCombo</title><link>http://www.intersoftsolutions.com/Community/WebCombo/Dynamic-WebCombo/</link><pubDate>Fri, 25 Jun 2010 16:29:31 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;A minor modification of the “Programmatic.aspx” reference sample file need to be made in order to make the combo accessible from server side event.&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 put the declaration of the combo object as a global variable rather than put the line in Page_Load server side event.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Original:&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;&lt;span style="font-family: 'courier new'; color: #2b91af; font-size: 10pt"&gt;AccessDataSource&lt;/span&gt; access;

&lt;span style="font-family: 'courier new'; color: blue; font-size: 10pt"&gt;protected void&lt;/span&gt; Page_Load(&lt;span style="font-family: 'courier new'; color: blue; font-size: 10pt"&gt;object&lt;/span&gt; sender, &lt;span style="font-family: 'courier new'; color: #2b91af; font-size: 10pt"&gt;EventArgs&lt;/span&gt; e)
{
    access = &lt;span style="font-family: 'courier new'; color: blue; font-size: 10pt"&gt;new&lt;/span&gt; &lt;span style="font-family: 'courier new'; color: #2b91af; font-size: 10pt"&gt;AccessDataSource&lt;/span&gt;(Server.MapPath(&lt;span style="font-family: 'courier new'; color: #a31515; font-size: 10pt"&gt;"./App_Data/Northwind.mdb"&lt;/span&gt;),
        &lt;span style="font-family: 'courier new'; color: #a31515; font-size: 10pt"&gt;"Select * from Customers"&lt;/span&gt;);
    access.ID = &lt;span style="font-family: 'courier new'; color: #a31515; font-size: 10pt"&gt;"AccessDataSource1"&lt;/span&gt;;

    &lt;span style="font-family: 'courier new'; color: #2b91af; font-size: 10pt"&gt;WebCombo&lt;/span&gt; combo = &lt;span style="font-family: 'courier new'; color: blue; font-size: 10pt"&gt;new&lt;/span&gt; &lt;span style="font-family: 'courier new'; color: #2b91af; font-size: 10pt"&gt;WebCombo&lt;/span&gt;(&lt;span style="font-family: 'courier new'; color: #a31515; font-size: 10pt"&gt;"WebCombo1"&lt;/span&gt;);
    ...&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Modified version:&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;&lt;span style="font-family: 'courier new'; color: #2b91af; font-size: 10pt"&gt;AccessDataSource&lt;/span&gt; access;
&lt;span style="font-family: 'courier new'; color: #2b91af; font-size: 10pt"&gt;WebCombo&lt;/span&gt; combo = &lt;span style="font-family: 'courier new'; color: blue; font-size: 10pt"&gt;new&lt;/span&gt; &lt;span style="font-family: 'courier new'; color: #2b91af; font-size: 10pt"&gt;WebCombo&lt;/span&gt;(&lt;span style="font-family: 'courier new'; color: #a31515; font-size: 10pt"&gt;"WebCombo1"&lt;/span&gt;);

&lt;span style="font-family: 'courier new'; color: blue; font-size: 10pt"&gt;protected void&lt;/span&gt; Page_Load(&lt;span style="font-family: 'courier new'; color: blue; font-size: 10pt"&gt;object&lt;/span&gt; sender, &lt;span style="font-family: 'courier new'; color: #2b91af; font-size: 10pt"&gt;EventArgs&lt;/span&gt; e)
{
    access = &lt;span style="font-family: 'courier new'; color: blue; font-size: 10pt"&gt;new&lt;/span&gt; &lt;span style="font-family: 'courier new'; color: #2b91af; font-size: 10pt"&gt;AccessDataSource&lt;/span&gt;(Server.MapPath(&lt;span style="font-family: 'courier new'; color: #a31515; font-size: 10pt"&gt;"./App_Data/Northwind.mdb"&lt;/span&gt;),
        &lt;span style="font-family: 'courier new'; color: #a31515; font-size: 10pt"&gt;"Select * from Customers"&lt;/span&gt;);
    access.ID = &lt;span style="font-family: 'courier new'; color: #a31515; font-size: 10pt"&gt;"AccessDataSource1"&lt;/span&gt;;
    ...&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;In order to obtain the selected value when submit button is pressed can be simply acquired by using following snippet code.&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;combo.Value&lt;/pre&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>Dynamic WebCombo</title><link>http://www.intersoftsolutions.com/Community/WebCombo/Dynamic-WebCombo/</link><pubDate>Fri, 25 Jun 2010 04:21:36 GMT</pubDate><dc:creator>kenny.yung</dc:creator><description>&lt;p&gt;I am trying create few webcombo on-the-fly. I am using the "Programmatic Creation" sample &lt;/p&gt;
&lt;p&gt;&lt;a href="http://live.intersoftpt.com/cs/WebCombo/Programmatic.aspx?path=/WebCombo/Advanced%20Features&amp;amp;noframe=1"&gt;http://live.intersoftpt.com/cs/WebCombo/Programmatic.aspx?path=/WebCombo/Advanced%20Features&amp;amp;noframe=1&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;as my based. &lt;/p&gt;
&lt;p&gt;I have got the creation part working.&lt;/p&gt;
&lt;p&gt;Howerver, I don't know how to reference "Dynamic" webcombo when I press the submit button to obtain the selected value. Please help.&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;
&lt;p&gt;Kenny&lt;/p&gt;</description></item></channel></rss>