<rss version="2.0" 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"><channel><title>[How Do I:] Use the ASP.NET AJAX CascadingDropDown Control Extender?</title><link>http://asp.net</link><pubDate>Tue, 27 May 2008 11:21:37 GMT</pubDate><generator>umbraco</generator><description>Comments for [How Do I:] Use the ASP.NET AJAX CascadingDropDown Control Extender?</description><language>en</language><atom:link href="http://asp.net/rss/comments/33558" rel="self" type="application/rss+xml" /><item><title>Comment Posted by polaw</title><link>http://asp.net/web-forms/videos/ajax-control-toolkit/how-do-i-use-the-aspnet-ajax-cascadingdropdown-control-extender</link><pubDate>Tue, 04 Mar 2008 21:41:57 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000281</guid><description><![CDATA[ <p>I found this much more helpful than the article located at &lt;a rel=&quot;nofollow&quot; target=&quot;_new&quot; href=&quot;http://www.asp.net/AJAX/AjaxControlToolkit/Samples/Walkthrough/CCDWithDB.aspx&quot;&gt;www.asp.net/.../CCDWithDB.aspx&lt;/a&gt;</p> <p>Although, the other article gave me a vague idea of the concept, it left me with more questions than answers.</p> <p>I will watch this a couple more times and re-create the code shown in order to both learn how to do this and create a re-usable portion of code.</p> <p>Thanks to Joe</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/polaw.jpg?forceidenticon=false&amp;dt=635047870800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by JoeStagner</title><link>http://asp.net/web-forms/videos/ajax-control-toolkit/how-do-i-use-the-aspnet-ajax-cascadingdropdown-control-extender</link><pubDate>Sat, 15 Mar 2008 12:54:36 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000282</guid><description><![CDATA[ <p>Glad it was usefull - THANKS !</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/JoeStagner.jpg?forceidenticon=false&amp;dt=635047870800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by nehaljain</title><link>http://asp.net/web-forms/videos/ajax-control-toolkit/how-do-i-use-the-aspnet-ajax-cascadingdropdown-control-extender</link><pubDate>Fri, 21 Mar 2008 16:33:09 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000283</guid><description><![CDATA[ <p>This is very helpful video. Just a note that the code link shown is not matching with the code shown during presentation. I followed each step to create the same and I am able to populate the first drop down but corresponding values are not loaded in second drop down. Are category values are case sensitive? I will try to debug it through.</p> <p>I will definately watch other similar video posted by Joe</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/nehaljain.jpg?forceidenticon=false&amp;dt=635047870800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by JoeStagner</title><link>http://asp.net/web-forms/videos/ajax-control-toolkit/how-do-i-use-the-aspnet-ajax-cascadingdropdown-control-extender</link><pubDate>Sat, 22 Mar 2008 11:29:43 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000284</guid><description><![CDATA[ <p>Just a note: The videos is recorded with the programming done in VB. The C# code is written later to accomplish the same task. </p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/JoeStagner.jpg?forceidenticon=false&amp;dt=635047870800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Rajska</title><link>http://asp.net/web-forms/videos/ajax-control-toolkit/how-do-i-use-the-aspnet-ajax-cascadingdropdown-control-extender</link><pubDate>Sun, 30 Mar 2008 12:29:53 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000285</guid><description><![CDATA[ <p>Hello Joe,</p> <p>I did 4 dropdownlist boxes in VB for World Regions, Countries, States/Provinces and Cities. It works.</p> <p>I made a new one in C# as required by ASP.Net 3.5, but now all I get are method errors 500, 12030s. Any suggestions?</p> <p>Thanks.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/Rajska.jpg?forceidenticon=false&amp;dt=635047870800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Rajska</title><link>http://asp.net/web-forms/videos/ajax-control-toolkit/how-do-i-use-the-aspnet-ajax-cascadingdropdown-control-extender</link><pubDate>Sun, 30 Mar 2008 14:16:35 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000286</guid><description><![CDATA[ <p>Addendum:</p> <p>I get this error report:</p> <p>Error 1 File &#39;WorldService.asmx&#39; was not found. </p> <p>How do I make it be found?</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/Rajska.jpg?forceidenticon=false&amp;dt=635047870800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Rajska</title><link>http://asp.net/web-forms/videos/ajax-control-toolkit/how-do-i-use-the-aspnet-ajax-cascadingdropdown-control-extender</link><pubDate>Sun, 30 Mar 2008 20:03:39 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000287</guid><description><![CDATA[ <p>Ok, I solved problems of the first 3 dropdownlist boxes by placing a &quot;~/&quot; in front of the asmx file. &#160;But the last 4th box still gives Method error 500 or 12031.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/Rajska.jpg?forceidenticon=false&amp;dt=635047870800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by JoeStagner</title><link>http://asp.net/web-forms/videos/ajax-control-toolkit/how-do-i-use-the-aspnet-ajax-cascadingdropdown-control-extender</link><pubDate>Mon, 31 Mar 2008 09:37:30 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000288</guid><description><![CDATA[ <p>500 is a server error which means there is a problem in your Service Code. </p> <p>This can be caused either by a prgramming defect or by failing to correctly attribute the Service Class with the ScriptService attributes. </p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/JoeStagner.jpg?forceidenticon=false&amp;dt=635047870800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by realjuancho</title><link>http://asp.net/web-forms/videos/ajax-control-toolkit/how-do-i-use-the-aspnet-ajax-cascadingdropdown-control-extender</link><pubDate>Mon, 07 Apr 2008 14:35:04 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000289</guid><description><![CDATA[ <p>Hey Joe, im a newcomer at this whole ASP AJAX stuff</p> <p>i have a little question, where is the GetDropDownContentsPageMethod in the C# Code? </p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/realjuancho.jpg?forceidenticon=false&amp;dt=635047870800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by JoeStagner</title><link>http://asp.net/web-forms/videos/ajax-control-toolkit/how-do-i-use-the-aspnet-ajax-cascadingdropdown-control-extender</link><pubDate>Mon, 14 Apr 2008 20:53:59 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000290</guid><description><![CDATA[ <p>It&#39;s all the way to the bottom of Default.aspx.cs</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/JoeStagner.jpg?forceidenticon=false&amp;dt=635047870800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Musafiir</title><link>http://asp.net/web-forms/videos/ajax-control-toolkit/how-do-i-use-the-aspnet-ajax-cascadingdropdown-control-extender</link><pubDate>Tue, 15 Apr 2008 03:38:19 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000291</guid><description><![CDATA[ <p>Thx a lot for the tutorials Joe Stagner. </p> <p>In your tutorial when setting the &quot;ServiceMethod&quot; for the dropdownlist2, you have used &quot;GetDropDownListContentsPageMethod&quot;. What would be the result if we use only &quot;GetDropDownListContents&quot; and specifying the service path &quot;CarsService.asmx&quot;?</p> <p>Am doing a page whereby the user will type a product name which will automatically update a dropdownlist Location where that particular product is found. There is a connection to a database. Can you please guide me what should i modify to bind it to database or if there is a similar tutorial somewhere.</p> <p>Thnx Joe, waiting for your response</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/Musafiir.jpg?forceidenticon=false&amp;dt=635047870800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by idanz</title><link>http://asp.net/web-forms/videos/ajax-control-toolkit/how-do-i-use-the-aspnet-ajax-cascadingdropdown-control-extender</link><pubDate>Thu, 17 Apr 2008 16:24:34 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000292</guid><description><![CDATA[ <p>Hello Joe,</p> <p>Do you know what the [Method Error 12030] means to?</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/idanz.jpg?forceidenticon=false&amp;dt=635047870800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by agnomonus</title><link>http://asp.net/web-forms/videos/ajax-control-toolkit/how-do-i-use-the-aspnet-ajax-cascadingdropdown-control-extender</link><pubDate>Wed, 23 Apr 2008 23:49:45 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000293</guid><description><![CDATA[ <p>I appreciated the video and followed very closely. When I launched my app however the dropdownlists were populated progressively with each selection before it, but for the life of me I can&#39;t get the label to display the final text. I&#39;ve looked at the downloaded source and my code is identical but the label displays nothing. Any ideas about that? </p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/agnomonus.jpg?forceidenticon=false&amp;dt=635047870800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by chjk</title><link>http://asp.net/web-forms/videos/ajax-control-toolkit/how-do-i-use-the-aspnet-ajax-cascadingdropdown-control-extender</link><pubDate>Fri, 25 Apr 2008 09:12:47 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000294</guid><description><![CDATA[ <p>it&#39;s so cool.THANKS Joe！</p> <p>i have a question：</p> <p>If i add a new chidnode &quot;TheFirstOwner&quot; in the node &quot;color&quot;,seem this:</p> <p> &#160;&lt;make name=&quot;Acura&quot;&gt;</p> <p> &#160; &#160;&lt;model name=&quot;Integra&quot;&gt;</p> <p> &#160; &#160; &#160;&lt;color name=&quot;Green&quot; &gt;</p> <p> &#160; &#160; &#160; &#160;&lt;TheFirstOwner name=&quot;Joe Stagner&quot; /&gt;</p> <p> &#160; &#160; &#160;&lt;/color &gt;</p> <p> &#160; &#160; &#160;...</p> <p> &#160;&lt;/make&gt;</p> <p>&lt;/CarsService&gt;</p> <p>i want to know how to dispay the &quot;TheFirstOwner&quot; item in</p> <p>the Label1 in the DropDownList3_SelectedIndexChanged </p> <p>event?</p> <p>thank you very much!</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/chjk.jpg?forceidenticon=false&amp;dt=635047870800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by chjk</title><link>http://asp.net/web-forms/videos/ajax-control-toolkit/how-do-i-use-the-aspnet-ajax-cascadingdropdown-control-extender</link><pubDate>Fri, 25 Apr 2008 09:18:19 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000295</guid><description><![CDATA[ <p>if i choose Acura--Integra--Green</p> <p>Label1.txet will display:</p> <p>&quot;You have chosen a Green Acura Green . Nice car! The First Owner is Joe Stagner&quot;</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/chjk.jpg?forceidenticon=false&amp;dt=635047870800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Hideyoshi</title><link>http://asp.net/web-forms/videos/ajax-control-toolkit/how-do-i-use-the-aspnet-ajax-cascadingdropdown-control-extender</link><pubDate>Tue, 06 May 2008 04:33:58 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000296</guid><description><![CDATA[ <p>To Joe,</p> <p>the attribute of the Service Class with the ScriptService attributes is compulsary in the webservice.vb file? I&#39;m facing the problem of method error 500 too. i&#39;m Using SQL Server 2005 as my database.</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/Hideyoshi.jpg?forceidenticon=false&amp;dt=635047870800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Rajska</title><link>http://asp.net/web-forms/videos/ajax-control-toolkit/how-do-i-use-the-aspnet-ajax-cascadingdropdown-control-extender</link><pubDate>Wed, 07 May 2008 17:43:30 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000297</guid><description><![CDATA[ <p>Same problem with Musafiir. How to data bind the selectedvalue to the database? &#160;Will this work? &#160;Add DataTextField=&quot;Make&quot; SelectedValue=&#39;&lt;%#Bind(&quot;Make&quot;) %&gt;&#39; &#160;to the asp:DropDownList.</p> <p>Or can SelectedValue=&#39;&lt;%Bind(&quot;Make&quot;)%&gt;&#39; be added in the code-behind?</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/Rajska.jpg?forceidenticon=false&amp;dt=635047870800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by charnata</title><link>http://asp.net/web-forms/videos/ajax-control-toolkit/how-do-i-use-the-aspnet-ajax-cascadingdropdown-control-extender</link><pubDate>Mon, 12 May 2008 14:39:19 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000298</guid><description><![CDATA[ <p>Joe,</p> <p>I have been able to get the example to work. &#160;Now I am attempting to use this example with my data. &#160;I have been able to get the first two boxed to work however on the third dropdown box I get the dreaded 500 error. &#160;Can you give me an idea of where to look in my code. &#160;I have three datasets dsAllSite, dsServiceUnits and dsSelectedSites. </p> <p> My appologies if I have been to vague or not given you enough information to assist me.</p> <p>//default.aspx</p> <p>&lt;%@ Page Language=&quot;C#&quot; AutoEventWireup=&quot;true&quot; CodeFile=&quot;Default.aspx.cs&quot; Inherits=&quot;_Default&quot; EnableEventValidation=&quot;false&quot; %&gt;</p> <p>&lt;%@ Register Assembly=&quot;AjaxControlToolkit&quot; Namespace=&quot;AjaxControlToolkit&quot; TagPrefix=&quot;cc1&quot; %&gt;</p> <p>&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.1//EN&quot; &quot;&lt;a rel=&quot;nofollow&quot; target=&quot;_new&quot; href=&quot;http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd&quot;&gt;&quot;&gt;www.w3.org/.../xhtml11.dtd&quot;&gt;&lt;/a&gt;</p> <p>&lt;html xmlns=&quot;&lt;a rel=&quot;nofollow&quot; target=&quot;_new&quot; href=&quot;http://www.w3.org/1999/xhtml&quot;&gt;&quot;&gt;www.w3.org/.../xhtml&quot;&gt;&lt;/a&gt;</p> <p>&lt;head runat=&quot;server&quot;&gt;</p> <p>&lt;link href=&quot;returnSiteService.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot; /&gt;</p> <p> &#160; &#160;&lt;title&gt;Untitled Page&lt;/title&gt;</p> <p>&lt;/head&gt;</p> <p>&lt;body style=&quot;text-align: center&quot;&gt;</p> <p> &#160; &#160;&lt;form id=&quot;form1&quot; runat=&quot;server&quot;&gt;</p> <p> &#160; &#160; &#160; &#160;&lt;asp:ScriptManager ID=&quot;ScriptManager1&quot; runat=&quot;server&quot; /&gt;</p> <p> &#160; &#160; &#160; &#160;&lt;br /&gt;</p> <p> &#160; &#160; &#160; &#160;&amp;nbsp;&lt;div style=&quot;text-align: center&quot;&gt;</p> <p> &#160; &#160; &#160; &#160; &#160; &#160;&lt;table&gt;</p> <p> &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;&lt;tr&gt;</p> <p> &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;&lt;td class=&quot;tblLabel&quot;&gt;ATO:&lt;/td&gt;</p> <p> &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;&lt;td class=&quot;tblSpacer&quot;&gt;&lt;/td&gt;</p> <p> &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;&lt;td class=&quot;tblDropDown&quot;&gt;</p> <p> &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;&lt;asp:DropDownList ID=&quot;ddlAto&quot; runat=&quot;server&quot; CssClass=&quot;dropdown&quot; /&gt;</p> <p> &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;&lt;/td&gt;</p> <p> &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;&lt;/tr&gt;</p> <p> &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;&lt;tr&gt;</p> <p> &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;&lt;td class=&quot;tblLabel&quot;&gt;Service Unit:&lt;/td&gt;</p> <p> &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;&lt;td class=&quot;tblSpacer&quot;&gt;&lt;/td&gt;</p> <p> &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;&lt;td class=&quot;tblDropDown&quot;&gt;</p> <p> &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;&lt;asp:DropDownList ID=&quot;ddlSu&quot; runat=&quot;server&quot; CssClass=&quot;dropdown&quot; /&gt;</p> <p> &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;&lt;/td&gt;</p> <p> &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;&lt;/tr&gt;</p> <p> &#160; &#160; &#160; &#160; &#160; &#160;&lt;/table&gt;</p> <p> &#160; &#160; &#160; &#160;&lt;/div&gt;</p> <p> &#160; &#160; &#160; &#160;&lt;br /&gt;</p> <p> &#160; &#160; &#160; &#160;&lt;br /&gt;</p> <p> &#160; &#160; &#160; &#160;&lt;cc1:CascadingDropDown ID=&quot;ccdAto&quot; </p> <p> &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; runat=&quot;server&quot; </p> <p> &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; TargetControlID=&quot;ddlAto&quot; </p> <p> &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; Category=&quot;Symbol&quot; </p> <p> &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; PromptText=&quot;Please begin here...&quot; </p> <p> &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; LoadingText=&quot;Please wait...&quot; </p> <p> &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; ServicePath=&quot;ReturnSiteService.asmx&quot; </p> <p> &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; ServiceMethod=&quot;GetAto&quot;&gt;</p> <p> &#160; &#160; &#160; &#160;&lt;/cc1:CascadingDropDown&gt;</p> <p> &#160; &#160; &#160; &#160;&lt;cc1:CascadingDropDown ID=&quot;ccdSU&quot; </p> <p> &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; runat=&quot;server&quot; </p> <p> &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; TargetControlID=&quot;ddlSu&quot; </p> <p> &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; ParentControlID=&quot;ddlAto&quot; </p> <p> &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; Category=&quot;Symbol&quot; </p> <p> &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; PromptText=&quot;Select a Service Unit...&quot; </p> <p> &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; LoadingText=&quot;Please wait...&quot; </p> <p> &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; ServicePath=&quot;ReturnSiteService.asmx&quot; </p> <p> &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; ServiceMethod=&quot;GetSUData&quot;&gt;</p> <p> &#160; &#160; &#160; &#160;&lt;/cc1:CascadingDropDown&gt;</p> <p> &#160; &#160; &#160; &#160;&lt;cc1:CascadingDropDown ID=&quot;ccdOffice&quot; </p> <p> &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; runat=&quot;server&quot; </p> <p> &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; TargetControlID=&quot;ddlOffice&quot; </p> <p> &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; ParentControlID=&quot;ddlSu&quot; </p> <p> &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; Category=&quot;Symbol&quot; </p> <p> &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; PromptText=&quot;Select an Office...&quot; </p> <p> &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; LoadingText=&quot;Please wait...&quot; </p> <p> &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; ServicePath=&quot;ReturnSiteService.asmx&quot; </p> <p> &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; ServiceMethod=&quot;GetOfficeSites&quot;&gt;</p> <p> &#160; &#160; &#160; &#160;&lt;/cc1:CascadingDropDown&gt;</p> <p> &#160; &#160; &lt;/form&gt;</p> <p>&lt;/body&gt;</p> <p>&lt;/html&gt;</p> <p>//returnSiteService.cs</p> <p>using System;</p> <p>using System.Web;</p> <p>using System.Collections;</p> <p>using System.Collections.Generic;</p> <p>using System.Collections.Specialized;</p> <p>using System.Web.Services;</p> <p>using System.Web.Services.Protocols;</p> <p>using System.Data;</p> <p>using System.Data.SqlClient;</p> <p>using AjaxControlToolkit;</p> <p>/// &lt;summary&gt;</p> <p>/// Summary description for ReturnSiteService</p> <p>/// &lt;/summary&gt;</p> <p>[WebService(Namespace = &quot;&lt;a rel=&quot;nofollow&quot; target=&quot;_new&quot; href=&quot;http://tempuri.org/&quot;&quot;&gt;http://tempuri.org/&quot;&lt;/a&gt;)]</p> <p>[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]</p> <p>[System.Web.Script.Services.ScriptService]</p> <p>public class ReturnSiteService : System.Web.Services.WebService {</p> <p> &#160; &#160;public ReturnSiteService () {</p> <p> &#160; &#160; &#160; &#160;//Uncomment the following line if using designed components </p> <p> &#160; &#160; &#160; &#160;//InitializeComponent(); </p> <p> &#160; &#160;}</p> <p> &#160; &#160;[WebMethod]</p> <p> &#160; &#160;public CascadingDropDownNameValue[] GetAto(string knownCategoryValues, string category)</p> <p> &#160; &#160;{</p> <p> &#160; &#160; &#160; &#160;dsAllSitesTableAdapters.atostructureTableAdapter siteAdapter = new dsAllSitesTableAdapters.atostructureTableAdapter();</p> <p> &#160; &#160; &#160; &#160;dsAllSites.atostructureDataTable makes = siteAdapter.GetAllSiteData();</p> <p> &#160; &#160; &#160; &#160;List&lt;CascadingDropDownNameValue&gt; values = new List&lt;CascadingDropDownNameValue&gt;();</p> <p> &#160; &#160; &#160; &#160;foreach (DataRow dr in makes)</p> <p> &#160; &#160; &#160; &#160;{</p> <p> &#160; &#160; &#160; &#160; &#160; &#160;string Symbol = (string)dr[&quot;Symbol&quot;];</p> <p> &#160; &#160; &#160; &#160; &#160; &#160;int siteIdx = (int)dr[&quot;Idx&quot;];</p> <p> &#160; &#160; &#160; &#160; &#160; &#160;values.Add(new CascadingDropDownNameValue(Symbol, siteIdx.ToString()));</p> <p> &#160; &#160; &#160; &#160;}</p> <p> &#160; &#160; &#160; &#160;return values.ToArray();</p> <p> &#160; &#160;}</p> <p> &#160; &#160;[WebMethod]//This method selectcts the Service Units</p> <p> &#160; &#160;public CascadingDropDownNameValue[] GetSUData(string knownCategoryValues, string category) </p> <p> &#160; &#160;{</p> <p> &#160; &#160; &#160; &#160;StringDictionary kv = CascadingDropDown.ParseKnownCategoryValuesString(knownCateg oryValues);</p> <p> &#160; &#160; &#160; &#160;int siteIdx; &#160;//clear after testing</p> <p> &#160; &#160; &#160; &#160;if (!kv.ContainsKey(&quot;Symbol&quot;) || !Int32.TryParse(kv[&quot;Symbol&quot;], out siteIdx))</p> <p> &#160; &#160; &#160; &#160;{</p> <p> &#160; &#160; &#160; &#160; &#160; &#160;return null;</p> <p> &#160; &#160; &#160; &#160;}</p> <p> &#160; &#160; &#160; &#160;dsServiceUnitTableAdapters.atostructureTableAdapter serviceUnitAdapter = new dsServiceUnitTableAdapters.atostructureTableAdapter();</p> <p> &#160; &#160; &#160; &#160;dsServiceUnit.atostructureDataTable su = serviceUnitAdapter.GetSUAllData(siteIdx);</p> <p> &#160; &#160; &#160; &#160;List&lt;CascadingDropDownNameValue&gt; values = new List&lt;CascadingDropDownNameValue&gt;();</p> <p> &#160; &#160; &#160; &#160;foreach (DataRow dr in su) </p> <p> &#160; &#160; &#160; &#160;{</p> <p> &#160; &#160; &#160; &#160; &#160; &#160;values.Add(new CascadingDropDownNameValue((string)dr[&quot;Symbol&quot;], dr[&quot;Idx&quot;].ToString()));</p> <p> &#160; &#160; &#160; &#160;}</p> <p> &#160; &#160; &#160; &#160;return values.ToArray();</p> <p> &#160; &#160;}</p> <p> &#160; &#160;[WebMethod]// This method selesct the children of the service unit</p> <p> &#160; &#160;public CascadingDropDownNameValue[] GetOfficeSites(string knownCategoryValues, string category)</p> <p> &#160; &#160;{</p> <p> &#160; &#160; &#160; &#160;StringDictionary kv = CascadingDropDown.ParseKnownCategoryValuesString(knownCateg oryValues);</p> <p> &#160; &#160; &#160; &#160;int siteIdx; &#160;//clear after testing</p> <p> &#160; &#160; &#160; if (!kv.ContainsKey(&quot;Symbol&quot;) || !Int32.TryParse(kv[&quot;Symbol&quot;], out siteIdx))</p> <p> &#160; &#160; &#160; &#160;{</p> <p> &#160; &#160; &#160; &#160; &#160; &#160;return null;</p> <p> &#160; &#160; &#160; &#160;}</p> <p> &#160; &#160; &#160; &#160;dsSelectedSitesTableAdapters.atostructureTableAdapter selectedSitesAdapter = new dsSelectedSitesTableAdapters.atostructureTableAdapter();</p> <p> &#160; &#160; &#160; &#160;dsSelectedSites.atostructureDataTable ss = selectedSitesAdapter.GetSelectedSites(siteIdx);</p> <p> &#160; &#160; &#160; &#160;List&lt;CascadingDropDownNameValue&gt; values = new List&lt;CascadingDropDownNameValue&gt;();</p> <p> &#160; &#160; &#160; &#160;foreach (DataRow dr in ss)</p> <p> &#160; &#160; &#160; &#160;{</p> <p> &#160; &#160; &#160; &#160; &#160; &#160;values.Add(new CascadingDropDownNameValue((string)dr[&quot;Symbol&quot;], dr[&quot;Idx&quot;].ToString()));</p> <p> &#160; &#160; &#160; &#160;}</p> <p> &#160; &#160; &#160; &#160;return values.ToArray();</p> <p> &#160; &#160;}</p> <p>}</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/charnata.jpg?forceidenticon=false&amp;dt=635047870800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by the_N_Channel</title><link>http://asp.net/web-forms/videos/ajax-control-toolkit/how-do-i-use-the-aspnet-ajax-cascadingdropdown-control-extender</link><pubDate>Wed, 14 May 2008 08:02:23 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000299</guid><description><![CDATA[ <p>Ok, so the 500 error is a Server error...now I&#39;m getting a 405 error. I went into the Toolkit code to try to find the dictionary that has the relationship between these numbers and what they mean, but it didn&#39;t seem to be in the CascadingDropDown...where can one find the information to decode these numbers? Generic numeric error messages is very Therac-25!</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/the_N_Channel.jpg?forceidenticon=false&amp;dt=635047870800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by charnata</title><link>http://asp.net/web-forms/videos/ajax-control-toolkit/how-do-i-use-the-aspnet-ajax-cascadingdropdown-control-extender</link><pubDate>Thu, 15 May 2008 13:00:06 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000300</guid><description><![CDATA[ <p>OK, I narrow down the issue I beleive but I do not know how to fix it or where to start. &#160;In my third dropdown box the ParentControlID will not recongnize the dropdown box ID. &#160;If I switch the third box to the first box it fill its box with selections based on the first dropdown box. &#160;Can anyone give me an idea of where to look to correct this?</p> <p>Thanks</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/charnata.jpg?forceidenticon=false&amp;dt=635047870800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by stapes</title><link>http://asp.net/web-forms/videos/ajax-control-toolkit/how-do-i-use-the-aspnet-ajax-cascadingdropdown-control-extender</link><pubDate>Fri, 16 May 2008 12:05:49 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000301</guid><description><![CDATA[ <p>Hi </p> <p>The downloaded C# code has a bad zip header. Is it corrupt?</p> <p>Also, where is the C# code for GetDropDownContentsPageMethod - its not on the video or in the downloaded code. i.e. this stuff:</p> <p>&lt;script runat=&quot;server&quot;&gt;</p> <p> &#160; &#160; &#160; &#160;&lt;System.Web.Services.WebMethod()&gt;</p> <p> &#160; &#160; &#160; &#160;&lt;System.Web.Script.Services.ScriptMethod()&gt;</p> <p> &#160; &#160; &#160; &#160;public Shared function GetDropDownContentsPageMethod(ByVal knownCategoryValues as string, ByVal Category as string) As AjaxControlToolkit.CascadingDropDownNameValue()</p> <p> &#160; &#160; &#160; &#160; &#160; &#160;return new CarsService().GetDropDownContents(knownCategoryValues, category)</p> <p> &#160; &#160; &#160; &#160;end function</p> <p> &#160; &#160; &#160; &#160;&lt;/script&gt;</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/stapes.jpg?forceidenticon=false&amp;dt=635047870800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by charnata</title><link>http://asp.net/web-forms/videos/ajax-control-toolkit/how-do-i-use-the-aspnet-ajax-cascadingdropdown-control-extender</link><pubDate>Fri, 16 May 2008 13:18:29 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000302</guid><description><![CDATA[ <p>Yea... I found my issue other than myself, Duh! &#160;Since I was using a single table that had a hierarchal data set I was referencing the same column name in each of my [WebMethod] coding blocks. &#160;Since I needed to use this data I gave the column an alias in each of the data set calls change .cs and .aspx pages accordingly and bingo it works! &#160;A user to have up to 8 dropdown boxes and they all are working off the parent dropdown.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/charnata.jpg?forceidenticon=false&amp;dt=635047870800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by sachinmanath</title><link>http://asp.net/web-forms/videos/ajax-control-toolkit/how-do-i-use-the-aspnet-ajax-cascadingdropdown-control-extender</link><pubDate>Wed, 21 May 2008 04:45:20 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000303</guid><description><![CDATA[ <p>sir i am usring you control in my website but some time i am getting this error Sys.WebForms.PageRequestManagerParserErrorException</p> <p>Can you tell me how can i solve this problem and where it is existing?</p> <p>Please reply me</p> <p>Thanks</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/sachinmanath.jpg?forceidenticon=false&amp;dt=635047870800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by sul125</title><link>http://asp.net/web-forms/videos/ajax-control-toolkit/how-do-i-use-the-aspnet-ajax-cascadingdropdown-control-extender</link><pubDate>Thu, 22 May 2008 17:08:51 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000304</guid><description><![CDATA[ <p>why everything has to be in ajax section in visual basic anguage?!!</p> <p>why not any c# one</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/sul125.jpg?forceidenticon=false&amp;dt=635047870800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Loretta</title><link>http://asp.net/web-forms/videos/ajax-control-toolkit/how-do-i-use-the-aspnet-ajax-cascadingdropdown-control-extender</link><pubDate>Tue, 27 May 2008 11:21:37 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-00000000305</guid><description><![CDATA[ <p>When I try to download this video the ZIP file comes back corrupt. &#160;When I try to save target as on the wmv file, I get the first 5 minutes of the video and then it just stops. &#160;Is there something wrong with the WMV version of the video, or is it just me?</p> <p>Thanks.</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/Loretta.jpg?forceidenticon=false&amp;dt=635047870800000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item></channel></rss>