<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Search results matching tag 'CascadingDropDown'</title><link>http://forums.asp.net/search/SearchResults.aspx?q=&amp;tag=CascadingDropDown&amp;orTags=0&amp;o=DateDescending</link><description>Search results matching tag 'CascadingDropDown'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: CascadingDropDown  problem</title><link>http://forums.asp.net/thread/3575456.aspx</link><pubDate>Sun, 20 Dec 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3575456</guid><dc:creator>j-will</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;&lt;p&gt;please reference to this articles,&lt;/p&gt;&lt;p&gt;hope can help you.&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.codeproject.com/KB/aspnet/CascadingDropDown.aspx"&gt;Using CascadingDropDown with a Database&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://aspalliance.com/1183_Creating_a_CascadingDropDown_Using_AJAX.all"&gt;Creating a CascadingDropDown Using AJAX&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>CascadingDropdownlistExtender</title><link>http://forums.asp.net/thread/3501672.aspx</link><pubDate>Mon, 09 Nov 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3501672</guid><dc:creator>vrystater</dc:creator><description>&lt;p&gt;Hi All,&lt;/p&gt;&lt;p&gt;Total newbie with AJAX (as in PROJECT 001...).&lt;/p&gt;&lt;p&gt;I would like to view an article on how to use the ccd extender for populating two dropdownlists. The first one can be hard coded and the second needs to be bound to a table.&lt;/p&gt;&lt;p&gt;I have found great resources for C# but I code in VB using vs2005 (.net 2.0) ...

Hope someone can help.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanks.&lt;/p&gt;</description></item><item><title>Re: web.config setting for webservices, cascading dropdownlist</title><link>http://forums.asp.net/thread/3462095.aspx</link><pubDate>Fri, 16 Oct 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3462095</guid><dc:creator>stogie333</dc:creator><description>&lt;p&gt;&amp;nbsp;I was having the same problem, even after adding the entry to web.config file.&amp;nbsp; Then I thought about it, since I did not know what &amp;lt;jsonSerialization maxJsonLength=&amp;quot;500000&amp;quot; /&amp;gt; meant.&amp;nbsp; After a while it looked to me like maxJsonLengh was the number of characters that could be returned.&amp;nbsp; I changed it to 5 million and it worked for my application! &lt;img title="Smile" alt="Smile" src="http://forums.asp.net/tiny_mce/jscripts/tiny_mce/plugins/emotions/img/smiley-smile.gif" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;So, I would suggest that you pump up the maxJsonLength&amp;nbsp;to some absolutely ridiculous number and it should work.&lt;/p&gt;
&lt;p&gt;I found that on each postback, it would take two to four seconds to load, but at least the `Wait Please Loading` message appeared.&lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;</description></item><item><title>Cascade DropDownList setting selected value </title><link>http://forums.asp.net/thread/3408648.aspx</link><pubDate>Wed, 16 Sep 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3408648</guid><dc:creator>BlackWolve</dc:creator><description>&lt;p&gt;Here is the problem.&lt;/p&gt;&lt;p&gt;I have 2 drop downlist with cascadeDropdownlist behind it.&lt;/p&gt;&lt;p&gt;So when page is loaded.&lt;/p&gt;&lt;p&gt;The first 1 will be filled with data.&lt;/p&gt;&lt;p&gt;When you select a item in the first one. Data will be loaded in the second list.&lt;/p&gt;&lt;p&gt;In the webservice a seleced value in the second list is also being set.&lt;/p&gt;&lt;p&gt;like this -&amp;gt; &lt;/p&gt;&lt;p&gt;CascadingDropDownNameValue casc = new CascadingDropDownNameValue(Name, ID);&lt;/p&gt;&lt;p&gt;&lt;b&gt;casc.isDefaultValue = app.ApplicationID == appID ? true : false;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;this works fine when you select 1 for the first time. but when you select a item in the first drop down the second time( in case you miss clicked or something ) the second dropdownlist selected value is not being updated. it only updates again if you manually set the first or second dropdown to the prompt value.&lt;/p&gt;&lt;p&gt;aspx part.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;pre name="code" class="c-sharp"&gt;&amp;lt;asp:TemplateField InsertVisible=&amp;quot;true&amp;quot; HeaderText=&amp;quot;Project code&amp;quot;&amp;gt;
                    &amp;lt;InsertItemTemplate&amp;gt;
                        &amp;lt;asp:DropDownList ID=&amp;quot;DropDownListProject&amp;quot; 
                                          runat=&amp;quot;server&amp;quot;&amp;gt;
                        &amp;lt;/asp:DropDownList&amp;gt;                        
                        &amp;lt;ajaxtoolkit:CascadingDropDown
                            ID=&amp;quot;CascadingDropDown1&amp;quot;
                            runat=&amp;quot;server&amp;quot;
                            Category=&amp;quot;Project&amp;quot;
                            TargetControlID=&amp;quot;DropDownListProject&amp;quot;
                            PromptText=&amp;quot;-Select Project-&amp;quot;
                            LoadingText=&amp;quot;Loading Projects..&amp;quot;
                            ServicePath=&amp;quot;~/Webservice/YoonisonERPDataService.asmx&amp;quot;
                            ServiceMethod=&amp;quot;GetProjects&amp;quot;&amp;gt;
                        &amp;lt;/ajaxtoolkit:CascadingDropDown&amp;gt;
                    &amp;lt;/InsertItemTemplate&amp;gt; 
                &amp;lt;/asp:TemplateField&amp;gt;
                
                &amp;lt;asp:TemplateField InsertVisible=&amp;quot;true&amp;quot; HeaderText=&amp;quot;Application&amp;quot;&amp;gt;
                    &amp;lt;InsertItemTemplate&amp;gt;
                        &amp;lt;asp:DropDownList ID=&amp;quot;DropDownListApplication&amp;quot; runat=&amp;quot;server&amp;quot;
                        OnSelectedIndexChanged=&amp;quot;DropDownListApplication_SelectedIndexChanged&amp;quot;&amp;gt;
                        &amp;lt;/asp:DropDownList&amp;gt;&amp;lt;br /&amp;gt;
                        &amp;lt;ajaxToolkit:CascadingDropDown
                        ID=&amp;quot;CascadingDropDown2&amp;quot;
                        runat=&amp;quot;server&amp;quot;
                        Category=&amp;quot;Application&amp;quot;
                        TargetControlID=&amp;quot;DropDownListApplication&amp;quot;
                        ParentControlID=&amp;quot;DropDownListProject&amp;quot;
                        PromptText=&amp;quot;-Select Application-&amp;quot;
                        LoadingText=&amp;quot;Loading Applications..&amp;quot;
                        ServicePath=&amp;quot;~/Webservice/YoonisonERPDataService.asmx&amp;quot;
                        ServiceMethod=&amp;quot;GetApplicationsForProject&amp;quot;&amp;gt;
                        &amp;lt;/ajaxToolkit:CascadingDropDown&amp;gt;
                    &amp;lt;/InsertItemTemplate&amp;gt;
                &amp;lt;/asp:TemplateField&amp;gt;&lt;/pre&gt;webservice part&lt;br /&gt; &lt;/p&gt;&lt;p&gt;&lt;pre name="code" class="c-sharp"&gt;[WebMethod]
        public CascadingDropDownNameValue[] GetApplicationsForProject(string knownCategoryValues, string category)
        {
            ApplicationManager applicationManager = new ApplicationManager();
            ProjectManager projectManager = new ProjectManager();

            short projectID;
            short appID = -1;
            //this stringdictionary contains has table with key value
            //pair of cooountry and countryID
            StringDictionary projectValues = CascadingDropDown.ParseKnownCategoryValuesString(knownCategoryValues);
            projectID = Convert.ToInt16(projectValues[&amp;quot;project&amp;quot;] == null ? &amp;quot;0&amp;quot; : projectValues[&amp;quot;project&amp;quot;]);
            List&amp;lt;Application&amp;gt; apps = new List&amp;lt;Application&amp;gt;();

            if (projectID != 0)
            {
                Project p = projectManager.GetProjectSimple(projectID);
                if (p != null &amp;amp;&amp;amp; p.ApplicationID.HasValue)
                {
                    appID = p.ApplicationID.Value;
                }
            }
            apps = applicationManager.GetApplications();
            

            List&amp;lt;CascadingDropDownNameValue&amp;gt; items = new List&amp;lt;CascadingDropDownNameValue&amp;gt;();
            foreach (Application app in apps)
            {

            string ID = app.ApplicationID.ToString();
            string Name = app.Description;
            
            CascadingDropDownNameValue casc = new CascadingDropDownNameValue(Name, ID);
            casc.isDefaultValue = app.ApplicationID == appID ? true : false;

            items.Add(casc);
            }
            return items.ToArray();
        }

        [WebMethod]
        public CascadingDropDownNameValue[] GetProjects(string knownCategoryValues, string category)
        {
            ProjectManager projectManager = new ProjectManager();


            List&amp;lt;Project&amp;gt; projects = new List&amp;lt;Project&amp;gt;();
            projects = projectManager.GetProjects();

            List&amp;lt;CascadingDropDownNameValue&amp;gt; items = new List&amp;lt;CascadingDropDownNameValue&amp;gt;();
            foreach (Project project in projects)
            {
                string ID = project.ProjectID.ToString();
                string Name = project.ProjectCode + &amp;quot; - &amp;quot; + project.Description;
                items.Add(new CascadingDropDownNameValue
                (Name, ID));
            }
            return items.ToArray();
        }&lt;/pre&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;i tried messing around with the selected value in the cascadedropdownlist but without anyluck.&lt;/p&gt;&lt;p&gt;Help would be apprieciated&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;thnx&lt;/p&gt;&lt;p&gt;Niels&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: error: enableEventValidation=&amp;quot;true&amp;quot;/</title><link>http://forums.asp.net/thread/3260086.aspx</link><pubDate>Fri, 26 Jun 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3260086</guid><dc:creator>me.sachan</dc:creator><description>&lt;p&gt;gyz, What is the actual solution for this error. For now i made enableEventValidation=&amp;quot;false&amp;quot; then&amp;nbsp; the error has went, But i am not satisfied. Please suggest me where and what i am doing wrong. Now i have one more issue. my dropdown list is not getting validated. Please let me know.&lt;/p&gt;&lt;p&gt;&lt;pre name="code" class="c-sharp"&gt;&amp;lt;center&amp;gt;
        &amp;lt;br /&amp;gt;
        &amp;lt;yo:errorMssg ID=&amp;quot;error&amp;quot; runat=&amp;quot;server&amp;quot; Visible=&amp;quot;false&amp;quot; /&amp;gt;
        &amp;lt;yo:infoMssg ID=&amp;quot;info&amp;quot; runat=&amp;quot;server&amp;quot; Visible=&amp;quot;false&amp;quot; /&amp;gt;
        &amp;lt;br /&amp;gt;
        &amp;lt;table width=&amp;quot;85%&amp;quot; border=&amp;quot;0&amp;quot;&amp;gt;
            &amp;lt;tr&amp;gt;
                &amp;lt;td&amp;gt;
                    Label
                &amp;lt;/td&amp;gt;
                &amp;lt;td&amp;gt;
                    :
                &amp;lt;/td&amp;gt;
                &amp;lt;td&amp;gt;
                    &amp;lt;asp:DropDownList ID=&amp;quot;ddlLabels&amp;quot; runat=&amp;quot;server&amp;quot; /&amp;gt;
                &amp;lt;/td&amp;gt;
            &amp;lt;/tr&amp;gt;
            &amp;lt;tr&amp;gt;
                &amp;lt;td&amp;gt;
                &amp;lt;/td&amp;gt;
                &amp;lt;td&amp;gt;
                &amp;lt;/td&amp;gt;
                &amp;lt;td&amp;gt;
                    &amp;lt;asp:RequiredFieldValidator ID=&amp;quot;rfvLabel&amp;quot; InitialValue=&amp;quot;-1&amp;quot; ErrorMessage=&amp;quot;Label&amp;quot;
                        runat=&amp;quot;server&amp;quot; SetFocusOnError=&amp;quot;true&amp;quot; Display=&amp;quot;Dynamic&amp;quot; ControlToValidate=&amp;quot;ddlLabels&amp;quot;&amp;gt;*&amp;lt;/asp:RequiredFieldValidator&amp;gt;
                &amp;lt;/td&amp;gt;
            &amp;lt;/tr&amp;gt;
            &amp;lt;tr&amp;gt;
                &amp;lt;td&amp;gt;
                    Artist
                &amp;lt;/td&amp;gt;
                &amp;lt;td&amp;gt;
                    :
                &amp;lt;/td&amp;gt;
                &amp;lt;td&amp;gt;
                    &amp;lt;asp:DropDownList ID=&amp;quot;ddArtists&amp;quot; runat=&amp;quot;server&amp;quot; /&amp;gt;
                &amp;lt;/td&amp;gt;
            &amp;lt;/tr&amp;gt;
        &amp;lt;/table&amp;gt;
    &amp;lt;/center&amp;gt;
    &amp;lt;br /&amp;gt;
    &amp;lt;ajaxToolkit:CascadingDropDown ID=&amp;quot;cscddlLabel&amp;quot; runat=&amp;quot;server&amp;quot; TargetControlID=&amp;quot;ddlLabels&amp;quot;
        Category=&amp;quot;LabelName&amp;quot; PromptText=&amp;quot;-- Select Label --&amp;quot; EmptyText=&amp;quot;No Label Found!&amp;quot;
        PromptValue=&amp;quot;-1&amp;quot; LoadingText=&amp;quot;Loading . . .&amp;quot; ServicePath=&amp;quot;~/WebServices/DanMusicService.asmx&amp;quot;
        ServiceMethod=&amp;quot;GetLabels&amp;quot; /&amp;gt;
    &amp;lt;ajaxToolkit:CascadingDropDown ID=&amp;quot;cscddlArtist&amp;quot; runat=&amp;quot;server&amp;quot; PromptValue=&amp;quot;-1&amp;quot;
        TargetControlID=&amp;quot;ddArtists&amp;quot; ParentControlID=&amp;quot;ddlLabels&amp;quot; PromptText=&amp;quot;-- Select Artist --&amp;quot;
        EmptyText=&amp;quot;No Artist Found!&amp;quot; LoadingText=&amp;quot;Loading . . .&amp;quot; ServiceMethod=&amp;quot;GetArtists&amp;quot;
        ServicePath=&amp;quot;~/WebServices/DanMusicService.asmx&amp;quot; Category=&amp;quot;Name&amp;quot; /&amp;gt;
    &amp;lt;asp:LinkButton ID=&amp;quot;lnkSubmit&amp;quot; runat=&amp;quot;server&amp;quot; Text=&amp;quot;Save&amp;quot;&amp;gt;&amp;lt;/asp:LinkButton&amp;gt;&lt;/pre&gt;&lt;br /&gt; &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Issue with: AjaxControlToolkit CascadingDropdown</title><link>http://forums.asp.net/thread/3079326.aspx</link><pubDate>Fri, 10 Apr 2009 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3079326</guid><dc:creator>brian.riley</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;&amp;nbsp;I am trying to get the AjaxControlToolkit CascadingDropdowns working on my ASPX page, and have run into an issue that I cannot figure out how to correct.&lt;/p&gt;&lt;p&gt;&amp;nbsp;I am using C# in VS2008 and CLR 3.5.&lt;/p&gt;&lt;p&gt;I have added a webservice to my project which is using Linq to access my SQL 2005 DB and create an XML file for consumption by the&amp;nbsp; CascadingDropdown class (no issues gettting the data or creating the XML). My issue is when I create my wrapper web service on the page where the the controls lie I get a:&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; Cannot implicity convert type &amp;#39;Namespace.webservice.CascadingDropDownNameValue[]&amp;#39;&amp;nbsp; to &amp;#39;AjaxControlToolkit.CascadingDropDownNameValue[]&amp;#39;&lt;/p&gt;&lt;p&gt;&amp;nbsp;I&amp;#39;m sure it&amp;#39;s something simple that I&amp;#39;m not seeing, so if someone could point me in the right direction, I would greatly appreciate it!&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Here&amp;#39;s my webservice asmx code (I&amp;#39;m sure there&amp;#39;s a more elegant approach to creating the XML document whcih I&amp;#39;ll get to once I can get the dropdowns working): &lt;br /&gt;&lt;/p&gt;&lt;pre class="coloredcode"&gt;    [WebService(Namespace = &lt;span class="st"&gt;&amp;quot;http:&lt;span class="cmt"&gt;//connect.flotech.net/&amp;quot;)]&lt;/span&gt;
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    [System.ComponentModel.ToolboxItem(false)]
    [System.Web.Script.Services.ScriptService()]

    public class helpers : System.Web.Services.WebService
    {
        private string[] hierarchy_Sites() {
            string[] _ret = {&amp;quot;&lt;/span&gt;Customer&lt;span class="st"&gt;&amp;quot;, &amp;quot;&lt;/span&gt;Site&lt;span class="st"&gt;&amp;quot; };
            return _ret;
        }

        [WebMethod]
        public AjaxControlToolkit.CascadingDropDownNameValue[] getSites(string knownCategories, string category)
        {   
            XmlDocument _xmlDoc = new XmlDocument();
            StringDictionary _dict = CascadingDropDown.ParseKnownCategoryValuesString(knownCategories);

            _xmlDoc.LoadXml(fetchSiteXml(category));

            string[] _hier = hierarchy_Sites();
            return CascadingDropDown.QuerySimpleCascadingDropDownDocument(_xmlDoc, _hier, _dict, category);
        }


        private string fetchSiteXml(string category)
        {
            string _ret = &amp;quot;&amp;quot;;

            &lt;span class="cmt"&gt;/*
             *  &amp;amp;lt;getSites&amp;amp;gt;
             *      &amp;lt;Customer name=&amp;quot;[CustId]&amp;quot;&amp;gt;
             *          &amp;lt;Site name=&amp;quot;[SiteId]&amp;quot; value=&amp;quot;[SiteDescr]&amp;quot;&amp;gt;
             *          &amp;lt;/Site&amp;gt;
             *      &amp;lt;/Customer&amp;gt;
             *  &amp;lt;/getSites&amp;gt;
             *      
             */&lt;/span&gt;

            using (MailboxesDataContext _db = new MailboxesDataContext())
            {
                var _addrs = from _addr in _db.ams2_getSites
                             where _addr.CustId == category
                             select new {_addr.CustId, _addr.SiteId, _addr.SiteDescr };

                string _cust = &amp;quot;&lt;/span&gt;&lt;span class="st"&gt;&amp;quot;;

                foreach (var _addr in _addrs)
                {
                    if (_cust != _addr.CustId.Trim())
                    {
                        if (_ret.Trim() != &amp;quot;&amp;quot;)
                            _ret += &amp;quot;&lt;/span&gt;&lt;span class="st"&gt;&amp;quot;;
                        _ret += &amp;quot;&lt;/span&gt;&amp;#39;&amp;quot; + _addr.CustId.Trim() + &amp;quot;&amp;#39;&amp;gt;&lt;span class="st"&gt;&amp;quot;;
                    }
                    _ret += &amp;quot;&lt;/span&gt;&amp;#39;&amp;quot; + _addr.SiteId.Trim() + &amp;quot;&amp;#39; &lt;span class="kwd"&gt;value&lt;/span&gt;=&lt;span class="st"&gt;&amp;#39;&amp;quot; + _addr.SiteDescr.Trim() + &amp;quot;&amp;#39;&lt;/span&gt; /&amp;gt;&lt;span class="st"&gt;&amp;quot;;
                }

                if(_ret.Trim() != &amp;quot;&amp;quot;)
                    _ret += &amp;quot;&lt;/span&gt;&lt;span class="st"&gt;&amp;quot;;
            }
            return &amp;quot;&lt;/span&gt;&lt;span class="st"&gt;&amp;quot; + _ret + &amp;quot;&lt;/span&gt;&amp;quot;;
        }

        
    }&lt;/pre&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;And the call to the webservice on the aspx page where I get the error: &lt;br /&gt;&lt;/p&gt;&lt;pre class="coloredcode"&gt;    &amp;lt;script runat=&lt;span class="st"&gt;&amp;quot;server&amp;quot;&lt;/span&gt;&amp;gt;
        [System.Web.Services.WebMethod()]
        [System.Web.Script.Services.ScriptMethod()]
        &lt;span class="kwd"&gt;public&lt;/span&gt; CascadingDropDownNameValue[] getSiteData(&lt;span class="kwd"&gt;string&lt;/span&gt; knownCategories, &lt;span class="kwd"&gt;string&lt;/span&gt; category)
        {
            &lt;span class="kwd"&gt;using&lt;/span&gt; (AMS_Brian.helpers.helpers _help = &lt;span class="kwd"&gt;new&lt;/span&gt; AMS_Brian.helpers.helpers())
            {            
                &lt;span class="kwd"&gt;return&lt;/span&gt; _help.getSites(knownCategories, category);
            }
        }
        
    &lt;/pre&gt;&amp;nbsp;&lt;br /&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>UpdatePanels, CascadingDropDowns, and SharePoint - Getting full postbacks?</title><link>http://forums.asp.net/thread/2879158.aspx</link><pubDate>Tue, 20 Jan 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2879158</guid><dc:creator>bshannon</dc:creator><description>&lt;p&gt;I am running SharePoint SP1.&amp;nbsp; I have a UserControl Webpart that I am dynamically adding controls to.&amp;nbsp; I have a Main UpdatePanel, and within that UP, I have an UpdatePanel for each DropDownList and CascadingDropDown Extender.&lt;/p&gt;&lt;p&gt;Now, I have an SelectedIndexChanged event handler attached to one of the DDLs, and everytime the selection changes, it does a full postback and all of the DDLs get reset.&amp;nbsp; Why is this happenning?&amp;nbsp; Is there a good example out there of how to use this event with CCDs in UpdatePanels on SharePoint?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Don't receive SelectedIndexChanged from ListBox + Cascading Drop Down Extender</title><link>http://forums.asp.net/thread/2777510.aspx</link><pubDate>Mon, 01 Dec 2008 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2777510</guid><dc:creator>Yarik</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I used 3 DropDowLists + Cascading Drop Down Extender to display cities on the page: Country, region and city. Everything worked fine. I used &lt;font size="2"&gt;SelectedIndexChanged of&amp;nbsp;DropDownList with cities to catch when new city was selected.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;Then I changed CascadingDropDownExtender to be able to attach not only to DropDownBox but also to ListBox. To do that I&amp;#39;ve changed CascadingDropDown.cs in AjaxControlToolkit project, and substituted DropDownList with ListControl. &lt;/p&gt;
&lt;p&gt;After that I&amp;#39;ve changed my city control from DropDownList to ListBox. Everything works fine, but I don&amp;#39;t receive SelectedIndexChanged event from my ListBox. &lt;/p&gt;
&lt;p&gt;Still I receive PageLoad event, and &amp;quot;__EVENTTARGET&amp;quot; contains ID of my city control.&lt;/p&gt;
&lt;p&gt;When I change it back to DropDownList, or remove extender, I can receive this event.&lt;/p&gt;
&lt;p&gt;Does anybody know, where is a problem?&lt;/p&gt;
&lt;p&gt;Why CascadingDropDown doesn&amp;#39;t support ListBox by default?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;&lt;font color="#2b91af" size="2"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;</description></item><item><title>Re: Trigger Update from Client?</title><link>http://forums.asp.net/thread/2689167.aspx</link><pubDate>Fri, 17 Oct 2008 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2689167</guid><dc:creator>jsnfx</dc:creator><description>&lt;p&gt;After looking at the source code I&amp;nbsp;found the solution:&amp;nbsp;call _onParentChange() on the child behviour.&lt;/p&gt;
&lt;p&gt;I.e., $find(&amp;#39;ChildCombo&amp;#39;)._onParentChange();&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Trigger Update from Client?</title><link>http://forums.asp.net/thread/2686252.aspx</link><pubDate>Thu, 16 Oct 2008 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2686252</guid><dc:creator>jsnfx</dc:creator><description>How can I force an update of a CascadingDropDown from client script?

I have some javascript that changes the selection in a parent drop-down.  The child drop down is not, however, updated.  I have tried calling theCombo.onchange() but it is always null.


</description></item></channel></rss>