<?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>ASP.NET AJAX Control Toolkit</title><link>http://forums.asp.net/1022.aspx</link><description>Here's your place to discuss everything in and about the AJAX Control Toolkit</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: SlideShowExtender and database integration, c# newbie</title><link>http://forums.asp.net/thread/2273365.aspx</link><pubDate>Thu, 03 Apr 2008 05:37:08 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2273365</guid><dc:creator>rfurdzik</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2273365.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=2273365</wfw:commentRss><description>&lt;p&gt;After I have removed the paramter from page_load, I am still getting this error:&lt;/p&gt;
&lt;p&gt;&amp;lt;title&amp;gt;The HTTP verb POST used to access path &amp;#39;/IwantIoffer/ShowAd.aspx/GetSlides&amp;#39; is not allowed.&amp;lt;/title&amp;gt;&lt;/p&gt;
&lt;p&gt;I have just realized it missed the /localhost in the&amp;nbsp;path. Any idea???&amp;nbsp;It should be &amp;quot;http://localhost/IwantIoffer/ShowAd.aspx/GetSlides&amp;#39;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;</description></item><item><title>Re: SlideShowExtender and database integration, c# newbie</title><link>http://forums.asp.net/thread/2273283.aspx</link><pubDate>Thu, 03 Apr 2008 04:21:38 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2273283</guid><dc:creator>rfurdzik</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2273283.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=2273283</wfw:commentRss><description>&lt;p&gt;I wonder if thsi is causing the problem. I have this in page_load:&lt;/p&gt;&lt;font size="2"&gt;slideshowextender.SlideShowServiceMethod = &lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;GetSlides?AdID=&amp;quot;&lt;/font&gt;&lt;font size="2"&gt; + adIdQs;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;Also This does not look like a valid URL:&amp;nbsp;&lt;span&gt; &lt;a href="http://localhost/IwantIoffer/ShowAd.aspx/GetSlides?AdID=49245"&gt;http://localhost/IwantIoffer/ShowAd.aspx/GetSlides?AdID=49245&lt;/a&gt;. Why is it generated in this form???&lt;/span&gt;&lt;span&gt; 
&lt;h1&gt;Server Error in &amp;#39;/IwantIoffer&amp;#39; Application. 
&lt;hr /&gt;
&lt;/h1&gt;
&lt;h2&gt;&lt;i&gt;The resource cannot be found.&lt;/i&gt; &lt;/h2&gt;&lt;/span&gt;&lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "&gt;&lt;b&gt;Description: &lt;/b&gt;HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. &amp;nbsp;Please review the following URL and make sure that it is spelled correctly. &lt;br /&gt;&lt;br /&gt;&lt;b&gt;Requested URL: &lt;/b&gt;/IwantIoffer/ShowAd.aspx/GetSlides&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;/span&gt;&lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "&gt;
&lt;hr /&gt;

&lt;p&gt;&lt;b&gt;Version Information:&lt;/b&gt;&amp;nbsp;Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433 &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;However when I run the same URL on the live&amp;nbsp;server: &lt;a href="http://www.zikbay.com/ShowAd.aspx/GetSlides?AdID=49245"&gt;http://www.zikbay.com/ShowAd.aspx/GetSlides?AdID=49245&lt;/a&gt;, it goes to Search.aspx. The only reason for this can be that it is hitting Page_load of Show.aspx with no parameter called &amp;quot;ID&amp;quot;....&lt;/p&gt;
&lt;p&gt;Here is my code:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;pre class="coloredcode"&gt;&lt;b id="1"&gt;1    &lt;/b&gt;                    &amp;lt;&lt;span class="tag"&gt;asp:Panel&lt;/span&gt;&lt;span class="attr"&gt; ID=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;PhotoPanel&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; runat=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;server&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; Visible=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;False&amp;quot;&lt;/span&gt;&amp;gt;
&lt;b id="2"&gt;2    &lt;/b&gt;                        &amp;lt;&lt;span class="tag"&gt;p&lt;/span&gt;&lt;span class="attr"&gt; class=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;notice&amp;quot;&lt;/span&gt;&amp;gt;
&lt;b id="3"&gt;3    &lt;/b&gt;                            &amp;lt;&lt;span class="tag"&gt;asp:LinkButton&lt;/span&gt;&lt;span class="attr"&gt; ID=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;HidePhotoPanel&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; runat=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;server&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; OnClick=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;HidePhotoPanel_Click&amp;quot;&lt;/span&gt;&amp;gt;Hide again&amp;lt;/&lt;span class="tag"&gt;asp:LinkButton&lt;/span&gt;&amp;gt;&amp;lt;/&lt;span class="tag"&gt;p&lt;/span&gt;&amp;gt;
&lt;b id="4"&gt;4    &lt;/b&gt;                        &amp;lt;&lt;span class="tag"&gt;div&lt;/span&gt;&lt;span class="attr"&gt; style=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;text-align: center&amp;quot;&lt;/span&gt;&amp;gt;
&lt;b id="5"&gt;5    &lt;/b&gt;                            &amp;lt;&lt;span class="tag"&gt;p&lt;/span&gt;&amp;gt;
&lt;b id="6"&gt;6    &lt;/b&gt;                                &lt;span class="dir"&gt;&amp;lt;%-&lt;/span&gt;-							&amp;lt;asp:ImageButton ID=&amp;quot;FullSizePhoto&amp;quot; runat=&amp;quot;server&amp;quot; OnClick=&amp;quot;FullSizePhoto_Click&amp;quot;
&lt;b id="7"&gt;7    &lt;/b&gt;								AlternateText=&amp;quot;Show other ad photos if they exist.&amp;quot; /&amp;gt;--&lt;span class="dir"&gt;%&amp;gt;&lt;/span&gt;
&lt;b id="8"&gt;8    &lt;/b&gt;                                &amp;lt;&lt;span class="tag"&gt;asp:Image&lt;/span&gt;&lt;span class="attr"&gt; ID=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;FullSizePhoto&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; runat=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;server&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; Style=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;border: 1px solid black; width: auto&amp;quot;&lt;/span&gt;
&lt;b id="9"&gt;9    &lt;/b&gt;&lt;span class="attr"&gt;                                    AlternateText=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;Ad Photo&amp;quot;&lt;/span&gt; /&amp;gt;
&lt;b id="10"&gt;10   &lt;/b&gt;                                &amp;lt;&lt;span class="tag"&gt;asp:Label&lt;/span&gt;&lt;span class="attr"&gt; runat=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;Server&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; ID=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;imageLabel1&amp;quot;&lt;/span&gt; /&amp;gt;&amp;lt;&lt;span class="tag"&gt;br&lt;/span&gt; /&amp;gt;
&lt;b id="11"&gt;11   &lt;/b&gt;                                &amp;lt;&lt;span class="tag"&gt;br&lt;/span&gt; /&amp;gt;
&lt;b id="12"&gt;12   &lt;/b&gt;                                &amp;lt;&lt;span class="tag"&gt;asp:Button&lt;/span&gt;&lt;span class="attr"&gt; runat=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;Server&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; ID=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;prevButton&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; Text=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;Prev&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; Font-Size=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;Larger&amp;quot;&lt;/span&gt; /&amp;gt;
&lt;b id="13"&gt;13   &lt;/b&gt;                                &amp;lt;&lt;span class="tag"&gt;asp:Button&lt;/span&gt;&lt;span class="attr"&gt; runat=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;Server&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; ID=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;playButton&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; Text=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;Play&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; Font-Size=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;Larger&amp;quot;&lt;/span&gt; /&amp;gt;
&lt;b id="14"&gt;14   &lt;/b&gt;                                &amp;lt;&lt;span class="tag"&gt;asp:Button&lt;/span&gt;&lt;span class="attr"&gt; runat=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;Server&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; ID=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;nextButton&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; Text=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;Next&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; Font-Size=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;Larger&amp;quot;&lt;/span&gt; /&amp;gt;
&lt;b id="15"&gt;15   &lt;/b&gt;                            &amp;lt;/&lt;span class="tag"&gt;p&lt;/span&gt;&amp;gt;
&lt;b id="16"&gt;16   &lt;/b&gt;                            &lt;span class="dir"&gt;&amp;lt;%-&lt;/span&gt;-                                &amp;lt;asp:Image ID=&amp;quot;Image1&amp;quot; runat=&amp;quot;server&amp;quot; 
&lt;b id="17"&gt;17   &lt;/b&gt;                                    Height=&amp;quot;300&amp;quot;
&lt;b id="18"&gt;18   &lt;/b&gt;                                    Style=&amp;quot;border: 1px solid black;width:auto&amp;quot; 
&lt;b id="19"&gt;19   &lt;/b&gt;                                    ImageUrl=&amp;quot;~/slideshow/images/Blue hills.jpg&amp;quot;
&lt;b id="20"&gt;20   &lt;/b&gt;                                    AlternateText=&amp;quot;Blue Hills image&amp;quot; /&amp;gt;--&lt;span class="dir"&gt;%&amp;gt;&lt;/span&gt;
&lt;b id="21"&gt;21   &lt;/b&gt;                            &amp;lt;&lt;span class="tag"&gt;ajaxToolkit:SlideShowExtender&lt;/span&gt;&lt;span class="attr"&gt; ID=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;slideshowextender&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; runat=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;server&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; TargetControlID=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;FullSizePhoto&amp;quot;&lt;/span&gt;
&lt;b id="22"&gt;22   &lt;/b&gt;&lt;span class="attr"&gt;                                SlideShowServiceMethod=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;GetSlides&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; AutoPlay=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;true&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; ImageDescriptionLabelID=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;imageLabel1&amp;quot;&lt;/span&gt;
&lt;b id="23"&gt;23   &lt;/b&gt;&lt;span class="attr"&gt;                                NextButtonID=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;nextButton&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; PlayButtonText=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;Play&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; StopButtonText=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;Stop&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; PreviousButtonID=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;prevButton&amp;quot;&lt;/span&gt;
&lt;b id="24"&gt;24   &lt;/b&gt;&lt;span class="attr"&gt;                                PlayButtonID=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;playButton&amp;quot;&lt;/span&gt;&lt;span class="attr"&gt; Loop=&lt;/span&gt;&lt;span class="attrv"&gt;&amp;quot;true&amp;quot;&lt;/span&gt; /&amp;gt;
&lt;b id="25"&gt;25   &lt;/b&gt;                        &amp;lt;/&lt;span class="tag"&gt;div&lt;/span&gt;&amp;gt;
&lt;b id="26"&gt;26   &lt;/b&gt;                    &amp;lt;/&lt;span class="tag"&gt;asp:Panel&lt;/span&gt;&amp;gt;
&lt;/pre&gt;&lt;/font&gt;
&lt;p&gt;Here is GetSlides method:&lt;/p&gt;&lt;pre class="coloredcode"&gt;&lt;b id="1"&gt;1    &lt;/b&gt;    [System.Web.Services.WebMethod]
&lt;b id="2"&gt;2    &lt;/b&gt;    [System.Web.Script.Services.ScriptMethod]
&lt;b id="3"&gt;3    &lt;/b&gt;    &lt;span class="kwd"&gt;public static&lt;/span&gt; AjaxControlToolkit.Slide[] GetSlides()
&lt;b id="4"&gt;4    &lt;/b&gt;    {
&lt;b id="5"&gt;5    &lt;/b&gt;
&lt;b id="6"&gt;6    &lt;/b&gt;        &lt;span class="cmt"&gt;// Check if the URL querystring contains a valid ad.&lt;/span&gt;
&lt;b id="7"&gt;7    &lt;/b&gt;        
&lt;b id="8"&gt;8    &lt;/b&gt;        &lt;span class="kwd"&gt;int&lt;/span&gt; aid = DefaultValues.IdNullValue;
&lt;b id="9"&gt;9    &lt;/b&gt;        &lt;span class="kwd"&gt;string&lt;/span&gt; adIdQs = HttpContext.Current.Request.QueryString[&lt;span class="st"&gt;&amp;quot;AdID&amp;quot;&lt;/span&gt;];
&lt;b id="10"&gt;10   &lt;/b&gt;        &lt;span class="kwd"&gt;if&lt;/span&gt; (adIdQs != &lt;span class="kwd"&gt;null&lt;/span&gt; &amp;amp;&amp;amp; !Int32.TryParse(adIdQs, &lt;span class="kwd"&gt;out&lt;/span&gt; aid))
&lt;b id="11"&gt;11   &lt;/b&gt;        {
&lt;b id="12"&gt;12   &lt;/b&gt;            HttpContext.Current.Response.Redirect(&lt;span class="st"&gt;&amp;quot;~/Search.aspx&amp;quot;&lt;/span&gt;);
&lt;b id="13"&gt;13   &lt;/b&gt;        }
&lt;b id="14"&gt;14   &lt;/b&gt;
&lt;b id="15"&gt;15   &lt;/b&gt;        &lt;span class="cmt"&gt;//int aid = 121; //hardcoded value just for testing
&lt;b id="16"&gt;16   &lt;/b&gt;        //int aid = AdId; //This wan&amp;#39;t work as the webservice MUSt be static and AdId is Instance method..&lt;/span&gt;
&lt;b id="17"&gt;17   &lt;/b&gt;
&lt;b id="18"&gt;18   &lt;/b&gt;        AdsDataComponent.PhotosDataTable dreImages = PhotosDB.GetPhotosByAdId(aid) &lt;span class="kwd"&gt;as&lt;/span&gt; AdsDataComponent.PhotosDataTable;
&lt;b id="19"&gt;19   &lt;/b&gt;        &lt;span class="cmt"&gt;//AjaxControlToolkit.Slide mySlides = new AjaxControlToolkit.Slide();&lt;/span&gt;
&lt;b id="20"&gt;20   &lt;/b&gt;        AjaxControlToolkit.Slide[] mySlides = &lt;span class="kwd"&gt;new&lt;/span&gt; AjaxControlToolkit.Slide[dreImages.Count];
&lt;b id="21"&gt;21   &lt;/b&gt;       
&lt;b id="22"&gt;22   &lt;/b&gt;        
&lt;b id="23"&gt;23   &lt;/b&gt;        &lt;span class="cmt"&gt;//        ArrayList myList = new ArrayList();
&lt;b id="24"&gt;24   &lt;/b&gt;        //int i;
&lt;b id="25"&gt;25   &lt;/b&gt;        
&lt;b id="26"&gt;26   &lt;/b&gt;        //for(i=0; i&amp;lt;5; i++)
&lt;b id="27"&gt;27   &lt;/b&gt;        //    myList.Add(i);
&lt;b id="28"&gt;28   &lt;/b&gt;            
&lt;b id="29"&gt;29   &lt;/b&gt;        //myList.Add(&amp;quot;Hello&amp;quot;);
&lt;b id="30"&gt;30   &lt;/b&gt;        
&lt;b id="31"&gt;31   &lt;/b&gt;        //for(i=0; iConsole.WriteLine(&amp;quot;Array Index [{0}]: {1}&amp;quot;, i, myList[i].ToString());&lt;/span&gt;
&lt;b id="32"&gt;32   &lt;/b&gt;    
&lt;b id="33"&gt;33   &lt;/b&gt;
&lt;b id="34"&gt;34   &lt;/b&gt;
&lt;b id="35"&gt;35   &lt;/b&gt;        &lt;span class="kwd"&gt;if&lt;/span&gt; (dreImages != &lt;span class="kwd"&gt;null&lt;/span&gt;)
&lt;b id="36"&gt;36   &lt;/b&gt;        {
&lt;b id="37"&gt;37   &lt;/b&gt;            &lt;span class="kwd"&gt;int&lt;/span&gt; i = 0;
&lt;b id="38"&gt;38   &lt;/b&gt;
&lt;b id="39"&gt;39   &lt;/b&gt;            &lt;span class="kwd"&gt;foreach&lt;/span&gt; (AdsDataComponent.PhotosRow photo &lt;span class="kwd"&gt;in&lt;/span&gt; dreImages)
&lt;b id="40"&gt;40   &lt;/b&gt;            {
&lt;b id="41"&gt;41   &lt;/b&gt;                StringBuilder ImageUrl = &lt;span class="kwd"&gt;new&lt;/span&gt; StringBuilder();
&lt;b id="42"&gt;42   &lt;/b&gt;                &lt;span class="kwd"&gt;if&lt;/span&gt; (ClassifiedsHttpApplication.SiteUrl != &lt;span class="kwd"&gt;null&lt;/span&gt;)
&lt;b id="43"&gt;43   &lt;/b&gt;                {
&lt;b id="44"&gt;44   &lt;/b&gt;                    ImageUrl.Append(ClassifiedsHttpApplication.SiteUrl);
&lt;b id="45"&gt;45   &lt;/b&gt;                    &lt;span class="kwd"&gt;if&lt;/span&gt; (!ClassifiedsHttpApplication.SiteUrl.EndsWith(&lt;span class="st"&gt;&amp;quot;/&amp;quot;&lt;/span&gt;))
&lt;b id="46"&gt;46   &lt;/b&gt;                        ImageUrl.Append(&lt;span class="st"&gt;&amp;quot;/&amp;quot;&lt;/span&gt;);
&lt;b id="47"&gt;47   &lt;/b&gt;                    ImageUrl.Append(&lt;span class="st"&gt;&amp;quot;PhotoDisplay.ashx?size=full&amp;amp;photoid=&amp;quot;&lt;/span&gt;);
&lt;b id="48"&gt;48   &lt;/b&gt;                    ImageUrl.Append(photo.Id.ToString());
&lt;b id="49"&gt;49   &lt;/b&gt;
&lt;b id="50"&gt;50   &lt;/b&gt;                }
&lt;b id="51"&gt;51   &lt;/b&gt;
&lt;b id="52"&gt;52   &lt;/b&gt;                &lt;span class="cmt"&gt;//string ImageUrl = &amp;quot;PhotoDisplay.ashx?size=full&amp;amp;photoid=&amp;quot; + photo.Id.ToString();&lt;/span&gt;
&lt;b id="53"&gt;53   &lt;/b&gt;               
&lt;b id="54"&gt;54   &lt;/b&gt;                mySlides[i] =
&lt;b id="55"&gt;55   &lt;/b&gt;                    &lt;span class="kwd"&gt;new&lt;/span&gt; AjaxControlToolkit.Slide(ImageUrl.ToString(), &lt;span class="st"&gt;&amp;quot;&amp;quot;&lt;/span&gt;, &lt;span class="st"&gt;&amp;quot;&amp;quot;&lt;/span&gt;);
&lt;b id="56"&gt;56   &lt;/b&gt;                i++;
&lt;b id="57"&gt;57   &lt;/b&gt;            }
&lt;b id="58"&gt;58   &lt;/b&gt;
&lt;b id="59"&gt;59   &lt;/b&gt;        }
&lt;b id="60"&gt;60   &lt;/b&gt;
&lt;b id="61"&gt;61   &lt;/b&gt;        &lt;span class="kwd"&gt;return&lt;/span&gt; mySlides;
&lt;b id="62"&gt;62   &lt;/b&gt;
&lt;b id="63"&gt;63   &lt;/b&gt;        &lt;span class="cmt"&gt;//    return new AjaxControlToolkit.Slide[] { 
&lt;b id="64"&gt;64   &lt;/b&gt;
&lt;b id="65"&gt;65   &lt;/b&gt;        //        new AjaxControlToolkit.Slide(&amp;quot;images/Blue hills.jpg&amp;quot;, &amp;quot;Blue Hills&amp;quot;, &amp;quot;Go Blue&amp;quot;),
&lt;b id="66"&gt;66   &lt;/b&gt;        //        new AjaxControlToolkit.Slide(&amp;quot;images/Sunset.jpg&amp;quot;, &amp;quot;Sunset&amp;quot;, &amp;quot;Setting sun&amp;quot;),
&lt;b id="67"&gt;67   &lt;/b&gt;        //        new AjaxControlToolkit.Slide(&amp;quot;images/Winter.jpg&amp;quot;, &amp;quot;Winter&amp;quot;, &amp;quot;Wintery...&amp;quot;),
&lt;b id="68"&gt;68   &lt;/b&gt;        //        new AjaxControlToolkit.Slide(&amp;quot;images/Water lilies.jpg&amp;quot;, &amp;quot;Water lillies&amp;quot;, &amp;quot;Lillies in the water&amp;quot;),
&lt;b id="69"&gt;69   &lt;/b&gt;        //        new AjaxControlToolkit.Slide(&amp;quot;images/VerticalPicture.jpg&amp;quot;, &amp;quot;Sedona&amp;quot;, &amp;quot;Portrait style picture&amp;quot;)};
&lt;b id="70"&gt;70   &lt;/b&gt;        //}&lt;/span&gt;
&lt;b id="71"&gt;71   &lt;/b&gt;
&lt;b id="72"&gt;72   &lt;/b&gt;               
&lt;b id="73"&gt;73   &lt;/b&gt;
&lt;b id="74"&gt;74   &lt;/b&gt;    }
&lt;/pre&gt;&amp;nbsp; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: SlideShowExtender and database integration, c# newbie</title><link>http://forums.asp.net/thread/2266747.aspx</link><pubDate>Mon, 31 Mar 2008 16:30:16 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2266747</guid><dc:creator>barthsm</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2266747.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=2266747</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Check your server mapping - the error indicates that there&amp;#39;s a problem resolving the url to the webservice...&amp;nbsp; &amp;quot;/ShowAd.aspx/GetSlides?AdID=49245 is not a valid virtual path.&amp;quot;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: SlideShowExtender and database integration, c# newbie</title><link>http://forums.asp.net/thread/2265130.aspx</link><pubDate>Mon, 31 Mar 2008 02:24:44 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2265130</guid><dc:creator>rfurdzik</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2265130.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=2265130</wfw:commentRss><description>&lt;p&gt;After upgrade to 3.5 it does not work anymore, please see&amp;nbsp;the error&amp;nbsp;here (click on any image): &lt;a href="http://www.zikbay.com/Ad/49245"&gt;http://www.zikbay.com/Ad/49245&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Any idea what is causing this??? It is the same code I placed above...&lt;/p&gt;</description></item><item><title>Re: SlideShowExtender and database integration, c# newbie</title><link>http://forums.asp.net/thread/2181750.aspx</link><pubDate>Tue, 19 Feb 2008 10:36:46 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2181750</guid><dc:creator>mhkdas123</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2181750.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=2181750</wfw:commentRss><description>&lt;p&gt;Hi, Can I get complete Code with Handler&amp;nbsp; you used?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: SlideShowExtender and database integration, c# newbie</title><link>http://forums.asp.net/thread/2168913.aspx</link><pubDate>Tue, 12 Feb 2008 19:38:16 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2168913</guid><dc:creator>barthsm</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2168913.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=2168913</wfw:commentRss><description>&lt;p&gt;Thanks so much for your post, Marcel (Aug of 2006). It was a long time ago, but your method worked for me - I&amp;#39;ve been looking all over on how to get a parameter passed to the GetSlides() method.&amp;nbsp; I couldn&amp;#39;t get the contextkey to work, so this was a great solution; thank you!&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: SlideShowExtender and database integration, c# newbie</title><link>http://forums.asp.net/thread/2103867.aspx</link><pubDate>Fri, 11 Jan 2008 11:10:27 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2103867</guid><dc:creator>kamalsran</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2103867.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=2103867</wfw:commentRss><description>&lt;p&gt;give me code to make slide show extender&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Problems with Slide Control</title><link>http://forums.asp.net/thread/1789563.aspx</link><pubDate>Fri, 06 Jul 2007 00:35:45 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1789563</guid><dc:creator>rfurdzik</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1789563.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=1789563</wfw:commentRss><description>&lt;p&gt;OK, the full path works fine, you guys still should fix the relative path problem with URL rewriter...&lt;/p&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;public&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;static&lt;/font&gt;&lt;font size="2"&gt; AjaxControlToolkit.&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;Slide&lt;/font&gt;&lt;font size="2"&gt;[] GetSlides()&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;// Check if the URL querystring contains a valid ad.&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;int&lt;/font&gt;&lt;font size="2"&gt; aid = &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;DefaultValues&lt;/font&gt;&lt;font size="2"&gt;.IdNullValue;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;string&lt;/font&gt;&lt;font size="2"&gt; adIdQs = &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;HttpContext&lt;/font&gt;&lt;font size="2"&gt;.Current.Request.QueryString[&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;AdID&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;];&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;if&lt;/font&gt;&lt;font size="2"&gt; (adIdQs != &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;null&lt;/font&gt;&lt;font size="2"&gt; &amp;amp;&amp;amp; !&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;Int32&lt;/font&gt;&lt;font size="2"&gt;.TryParse(adIdQs, &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;out&lt;/font&gt;&lt;font size="2"&gt; aid))&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;{&lt;/p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;HttpContext&lt;/font&gt;&lt;font size="2"&gt;.Current.Response.Redirect(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;~/Search.aspx&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;);&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;//int aid = 121; //hardcoded value just for testing&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;//int aid = AdId; //This wan&amp;#39;t work as the webservice MUSt be static and AdId is Instance method..&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;AdsDataComponent&lt;/font&gt;&lt;font size="2"&gt;.&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;PhotosDataTable&lt;/font&gt;&lt;font size="2"&gt; dreImages = &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;PhotosDB&lt;/font&gt;&lt;font size="2"&gt;.GetPhotosByAdId(aid) &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;as&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;AdsDataComponent&lt;/font&gt;&lt;font size="2"&gt;.&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;PhotosDataTable&lt;/font&gt;&lt;font size="2"&gt;;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;//AjaxControlToolkit.Slide mySlides = new AjaxControlToolkit.Slide();&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;AjaxControlToolkit.&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;Slide&lt;/font&gt;&lt;font size="2"&gt;[] mySlides = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;new&lt;/font&gt;&lt;font size="2"&gt; AjaxControlToolkit.&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;Slide&lt;/font&gt;&lt;font size="2"&gt;[dreImages.Count];&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;// ArrayList myList = new ArrayList();&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;//int i;&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;//for(i=0; i&amp;lt;5; i++)&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;// myList.Add(i);&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;//myList.Add(&amp;quot;Hello&amp;quot;);&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;//for(i=0; iConsole.WriteLine(&amp;quot;Array Index [{0}]: {1}&amp;quot;, i, myList[i].ToString());&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;if&lt;/font&gt;&lt;font size="2"&gt; (dreImages != &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;null&lt;/font&gt;&lt;font size="2"&gt;)&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;{&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;int&lt;/font&gt;&lt;font size="2"&gt; i = 0;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;foreach&lt;/font&gt;&lt;font size="2"&gt; (&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;AdsDataComponent&lt;/font&gt;&lt;font size="2"&gt;.&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;PhotosRow&lt;/font&gt;&lt;font size="2"&gt; photo &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;in&lt;/font&gt;&lt;font size="2"&gt; dreImages)&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;StringBuilder&lt;/font&gt;&lt;font size="2"&gt; ImageUrl = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;new&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;StringBuilder&lt;/font&gt;&lt;font size="2"&gt;();&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;if&lt;/font&gt;&lt;font size="2"&gt; (&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;ClassifiedsHttpApplication&lt;/font&gt;&lt;font size="2"&gt;.SiteUrl != &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;null&lt;/font&gt;&lt;font size="2"&gt;)&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;{&lt;/p&gt;ImageUrl.Append(&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;ClassifiedsHttpApplication&lt;/font&gt;&lt;font size="2"&gt;.SiteUrl);&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;if&lt;/font&gt;&lt;font size="2"&gt; (!&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;ClassifiedsHttpApplication&lt;/font&gt;&lt;font size="2"&gt;.SiteUrl.EndsWith(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;/&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;))&lt;/p&gt;ImageUrl.Append(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;/&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;);&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;ImageUrl.Append(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;PhotoDisplay.ashx?size=full&amp;amp;photoid=&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;);&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;ImageUrl.Append(photo.Id.ToString());&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;//string ImageUrl = &amp;quot;PhotoDisplay.ashx?size=full&amp;amp;photoid=&amp;quot; + photo.Id.ToString();&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;mySlides[i] =&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;new&lt;/font&gt;&lt;font size="2"&gt; AjaxControlToolkit.&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;Slide&lt;/font&gt;&lt;font size="2"&gt;(ImageUrl.ToString(), &lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;Image 1&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;, &lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;Image 1&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;);&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;i++;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;return&lt;/font&gt;&lt;font size="2"&gt; mySlides;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;// return new AjaxControlToolkit.Slide[] { &lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;// new AjaxControlToolkit.Slide(&amp;quot;images/Blue hills.jpg&amp;quot;, &amp;quot;Blue Hills&amp;quot;, &amp;quot;Go Blue&amp;quot;),&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;// new AjaxControlToolkit.Slide(&amp;quot;images/Sunset.jpg&amp;quot;, &amp;quot;Sunset&amp;quot;, &amp;quot;Setting sun&amp;quot;),&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;// new AjaxControlToolkit.Slide(&amp;quot;images/Winter.jpg&amp;quot;, &amp;quot;Winter&amp;quot;, &amp;quot;Wintery...&amp;quot;),&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;// new AjaxControlToolkit.Slide(&amp;quot;images/Water lilies.jpg&amp;quot;, &amp;quot;Water lillies&amp;quot;, &amp;quot;Lillies in the water&amp;quot;),&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;// new AjaxControlToolkit.Slide(&amp;quot;images/VerticalPicture.jpg&amp;quot;, &amp;quot;Sedona&amp;quot;, &amp;quot;Portrait style picture&amp;quot;)};&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;//}&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;&lt;/font&gt;</description></item><item><title>Re: Problems with Slide Control</title><link>http://forums.asp.net/thread/1789527.aspx</link><pubDate>Thu, 05 Jul 2007 23:43:57 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1789527</guid><dc:creator>rfurdzik</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1789527.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=1789527</wfw:commentRss><description>&lt;p&gt;David, thanks for your reply. OK, I was not sure if it supports. I will put the full path now and let you know if it works. &lt;/p&gt;
&lt;p&gt;I have to find out first how to get the&amp;nbsp;&lt;strong&gt;full path to my root directory&amp;nbsp;&lt;/strong&gt;in the webservice....&lt;/p&gt;</description></item><item><title>Re: Problems with Slide Control</title><link>http://forums.asp.net/thread/1789523.aspx</link><pubDate>Thu, 05 Jul 2007 23:37:51 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1789523</guid><dc:creator>David Anson</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1789523.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=1789523</wfw:commentRss><description>&lt;p&gt;SlideShow seems to support full URLs in the Slide constructor. For example, if I add the following line to the GetSlides method in SlideShow.aspx (10618 release), I see the new image fine:&lt;/p&gt;
&lt;p&gt;new AjaxControlToolkit.Slide(&amp;quot;&lt;a href="http://www.live.com/live/1.900.9.001/img/wl_jewel.gif"&gt;http://www.live.com/live/1.900.9.001/img/wl_jewel.gif&lt;/a&gt;&amp;quot;, &amp;quot;Windows flag&amp;quot;, &amp;quot;Windows flag&amp;quot;),&lt;/p&gt;
&lt;p&gt;As such, if you return the URL-remapped paths to your images from your web service I&amp;#39;d expect it to work. Could you maybe try this again?&lt;/p&gt;</description></item><item><title>Re: Problems with Slide Control</title><link>http://forums.asp.net/thread/1789488.aspx</link><pubDate>Thu, 05 Jul 2007 23:06:13 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1789488</guid><dc:creator>rfurdzik</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1789488.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=1789488</wfw:commentRss><description>&lt;p&gt;Thanks a lot. I will put this under a seperate thread.&lt;/p&gt;</description></item><item><title>Re: Problems with Slide Control</title><link>http://forums.asp.net/thread/1789484.aspx</link><pubDate>Thu, 05 Jul 2007 22:59:41 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1789484</guid><dc:creator>kirtid</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1789484.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=1789484</wfw:commentRss><description>&lt;p&gt;I see. This deviates from the general question of the thread. I was referring to the earlier question of passing additional data to the webservice. I will point David to this thread since he knows more about url rewriting.&lt;/p&gt;
&lt;p&gt;Kirti&lt;/p&gt;</description></item><item><title>Re: Problems with Slide Control</title><link>http://forums.asp.net/thread/1789447.aspx</link><pubDate>Thu, 05 Jul 2007 22:23:23 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1789447</guid><dc:creator>rfurdzik</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1789447.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=1789447</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;kirtid:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;p&gt;The SlideShow extender webservice now takes in additional context. If you take a look at the sample website demo we document that and there are examples in the SampleWebsite and Toolkit tests project that demonstrate how to use that parameter.&lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;Thanks, a lot&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I am not sure how this is an answer to my question. It seems that &lt;strong&gt;Slides extender is using original URL path, instead of the rewritten one&lt;/strong&gt;. How sendding&amp;nbsp;additional string parameter can help here? Is there a property I can set for &lt;strong&gt;the base URL,&lt;/strong&gt; so it does not use the current original URL? &lt;strong&gt;It would be also nice if I can provide full URL to my pictures,&lt;/strong&gt; but extender adds the base path (wrong) in the background.... Did you guys test it with URLRewriter?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This is what I currently get with Extender using URLRewriter:&lt;/p&gt;
&lt;p&gt;1&amp;nbsp;Link:&amp;nbsp;original Link:&amp;nbsp;&lt;a href="http://localhost/mysite/Ad/118"&gt;http://localhost/mysite/Ad/118&lt;/a&gt; Rewritten link: &lt;a href="http://localhost/mysite/ShowAd.aspx?id=118"&gt;http://localhost/mysite/ShowAd.aspx?id=118&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;2) Extender shows pictures as:&lt;a href="http://localhost/mysite/Ad/PhotoDisplay.ashx?size=full&amp;amp;photoid=360"&gt;http://localhost/mysite/Ad/PhotoDisplay.ashx?size=full&amp;amp;photoid=360&lt;/a&gt;; This is what ist should be: &lt;a href="http://localhost/mysiste/PhotoDisplay.ashx?size=full&amp;amp;photoid=362"&gt;http://localhost/mysiste/PhotoDisplay.ashx?size=full&amp;amp;photoid=362&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;Here is my code just in case:&lt;/p&gt;&lt;pre class="coloredcode"&gt;    [System.Web.Services.WebMethod]
    [System.Web.Script.Services.ScriptMethod]
    &lt;span class="kwd"&gt;public static&lt;/span&gt; AjaxControlToolkit.Slide[] GetSlides()
    {

        &lt;span class="cmt"&gt;// Check if the URL querystring contains a valid ad.&lt;/span&gt;
        
        &lt;span class="kwd"&gt;int&lt;/span&gt; aid = DefaultValues.IdNullValue;
        &lt;span class="kwd"&gt;string&lt;/span&gt; adIdQs = HttpContext.Current.Request.QueryString[&lt;span class="st"&gt;&amp;quot;AdID&amp;quot;&lt;/span&gt;];
        &lt;span class="kwd"&gt;if&lt;/span&gt; (adIdQs != &lt;span class="kwd"&gt;null&lt;/span&gt; &amp;amp;&amp;amp; !Int32.TryParse(adIdQs, &lt;span class="kwd"&gt;out&lt;/span&gt; aid))
        {
            HttpContext.Current.Response.Redirect(&lt;span class="st"&gt;&amp;quot;~/Search.aspx&amp;quot;&lt;/span&gt;);
        }

        &lt;span class="cmt"&gt;//int aid = 121; //hardcoded value just for testing
        //int aid = AdId; //This wan&amp;#39;t work as the webservice MUSt be static and AdId is Instance method..&lt;/span&gt;

        AdsDataComponent.PhotosDataTable dreImages = PhotosDB.GetPhotosByAdId(aid) &lt;span class="kwd"&gt;as&lt;/span&gt; AdsDataComponent.PhotosDataTable;
        AjaxControlToolkit.Slide[] mySlides = &lt;span class="kwd"&gt;new&lt;/span&gt; AjaxControlToolkit.Slide[dreImages.Count];
       
         &lt;span class="kwd"&gt;if&lt;/span&gt; (dreImages != &lt;span class="kwd"&gt;null&lt;/span&gt;)
        {
            &lt;span class="kwd"&gt;int&lt;/span&gt; i = 0;

            &lt;span class="kwd"&gt;foreach&lt;/span&gt; (AdsDataComponent.PhotosRow photo &lt;span class="kwd"&gt;in&lt;/span&gt; dreImages)
            {
                &lt;span class="kwd"&gt;string&lt;/span&gt; ImageUrl = &lt;span class="st"&gt;&amp;quot;PhotoDisplay.ashx?size=full&amp;amp;photoid=&amp;quot;&lt;/span&gt; + photo.Id.ToString();
               
                mySlides[i] =
                    &lt;span class="kwd"&gt;new&lt;/span&gt; AjaxControlToolkit.Slide(ImageUrl, &lt;span class="st"&gt;&amp;quot;Image 1&amp;quot;&lt;/span&gt;, &lt;span class="st"&gt;&amp;quot;Image 1&amp;quot;&lt;/span&gt;);
                i++;
            }

        }

        &lt;span class="kwd"&gt;return&lt;/span&gt; mySlides;

               

    }
}&lt;/pre&gt;&amp;nbsp; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Problems with Slide Control</title><link>http://forums.asp.net/thread/1789306.aspx</link><pubDate>Thu, 05 Jul 2007 20:52:39 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1789306</guid><dc:creator>kirtid</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1789306.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=1789306</wfw:commentRss><description>&lt;p&gt;The SlideShow extender webservice now takes in additional context. If you take a look at the sample website demo we document that and there are examples in the SampleWebsite and Toolkit tests project that demonstrate how to use that parameter.&lt;/p&gt;</description></item><item><title>Problems with Slide Control</title><link>http://forums.asp.net/thread/1789211.aspx</link><pubDate>Thu, 05 Jul 2007 20:02:34 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1789211</guid><dc:creator>rfurdzik</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1789211.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1022&amp;PostID=1789211</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I had the same problem. Thaks for the fix. The problem is that the webservice is static and can not access properties from the instance of the page... Here is more info: &lt;a href="http://west-wind.com/weblog/ShowPost.aspx?id=8282"&gt;http://west-wind.com/weblog/ShowPost.aspx?id=8282&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Do you guys know how to change the full path of the pticture?&lt;/strong&gt; The problem is that with UR Rerwiter this does not work at all! The Slides Extender adds path to the existing original path request instead of to the rewritten one! So I am getting this URL:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://localhost/mysite/Ad/PhotoDisplay.ashx?size=full&amp;amp;photoid=375"&gt;http://localhost/mysite/Ad/PhotoDisplay.ashx?size=full&amp;amp;photoid=375&lt;/a&gt;&amp;nbsp;instead of this one &lt;a href="http://localhost/site/PhotoDisplay.ashx?size=full&amp;amp;photoid=375"&gt;http://localhost/site/PhotoDisplay.ashx?size=full&amp;amp;photoid=375&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It is using the source URL path! &lt;a href="http://localhost/mysite/Ad/PhotoDisplay.ashx?size=full&amp;amp;photoid=375"&gt;http://localhost/mysite/Ad/&lt;/a&gt;&amp;nbsp;It should use the rewritten one: &lt;a href="http://localhost/mysite/"&gt;http://localhost/mysite/&lt;/a&gt;&lt;/p&gt;</description></item></channel></rss>