Ajax SlideShow Controller
-
Dear All, My slide show extender does not work automatically even though defined as follows: <cc1:SlideShowExtender ID="SlideShowExtender1" runat="server" BehaviorID="SSBehaviorID" TargetControlID="img1" SlideShowServiceMethod="GetSlides" AutoPlay="true" ImageDescriptionLabelID="lblDesc" NextButtonID="btnNext" PreviousButtonID="btnPrev" PlayButtonID="btnPlay" PlayButtonText="Play" StopButtonText="Stop" Loop="true" > </cc1:SlideShowExtender> should I check somewhere else.. please advice it is drawing me crazy...
-
Dear All, My slide show extender does not work automatically even though defined as follows: <cc1:SlideShowExtender ID="SlideShowExtender1" runat="server" BehaviorID="SSBehaviorID" TargetControlID="img1" SlideShowServiceMethod="GetSlides" AutoPlay="true" ImageDescriptionLabelID="lblDesc" NextButtonID="btnNext" PreviousButtonID="btnPrev" PlayButtonID="btnPlay" PlayButtonText="Play" StopButtonText="Stop" Loop="true" > </cc1:SlideShowExtender> should I check somewhere else.. please advice it is drawing me crazy...
Ersan Ercek wrote:
SlideShowServiceMethod="GetSlides" AutoPlay="true" ImageDescriptionLabelID="lblDesc" NextButtonID="btnNext" PreviousButtonID="btnPrev" PlayButtonID="btnPlay"
Please check whether you have created ServiceMethod named GetSlides properly. Moreover, pls check for other controls have created the same id as you have defined in properties: lblDesc, btnNext, btnPrev for their corresponding controls. If you are still getting problem, you can download the Ajax Control Toolkit Sample Application and see the code sample how it is working.
Anurag Gandhi.
http://www.gandhisoft.com
Life is a computer program and every one is the programmer of his own life. -
Ersan Ercek wrote:
SlideShowServiceMethod="GetSlides" AutoPlay="true" ImageDescriptionLabelID="lblDesc" NextButtonID="btnNext" PreviousButtonID="btnPrev" PlayButtonID="btnPlay"
Please check whether you have created ServiceMethod named GetSlides properly. Moreover, pls check for other controls have created the same id as you have defined in properties: lblDesc, btnNext, btnPrev for their corresponding controls. If you are still getting problem, you can download the Ajax Control Toolkit Sample Application and see the code sample how it is working.
Anurag Gandhi.
http://www.gandhisoft.com
Life is a computer program and every one is the programmer of his own life.Dear Anurag, Thanks for the response.. I created the following method in aspx.cs file.. I did not get it is realition with asmx files.. Does it have anything to do with it? [System.Web.Services.WebMethod] [System.Web.Script.Services.ScriptMethod] public static AjaxControlToolkit.Slide[] GetSlides() { AjaxControlToolkit.Slide[] imgSlide = new AjaxControlToolkit.Slide[4]; imgSlide[0] = new AjaxControlToolkit.Slide("images/1.jpg", "Autumn", "Autumn Leaves"); imgSlide[1] = new AjaxControlToolkit.Slide("images/2.jpg", "Creek", "Creek"); imgSlide[2] = new AjaxControlToolkit.Slide("images/3.jpg", "Landscape", "Landscape"); imgSlide[3] = new AjaxControlToolkit.Slide("images/4.jpg", "Dock", "Dock"); return (imgSlide); } It does not throw any exception. Why do you think it happens=
-
Ersan Ercek wrote:
SlideShowServiceMethod="GetSlides" AutoPlay="true" ImageDescriptionLabelID="lblDesc" NextButtonID="btnNext" PreviousButtonID="btnPrev" PlayButtonID="btnPlay"
Please check whether you have created ServiceMethod named GetSlides properly. Moreover, pls check for other controls have created the same id as you have defined in properties: lblDesc, btnNext, btnPrev for their corresponding controls. If you are still getting problem, you can download the Ajax Control Toolkit Sample Application and see the code sample how it is working.
Anurag Gandhi.
http://www.gandhisoft.com
Life is a computer program and every one is the programmer of his own life.Dear Anurag, Well I tried a sample code, also it did not work.. do you think it could have something to do with my AjaxToolkit version?
-
Dear Anurag, Well I tried a sample code, also it did not work.. do you think it could have something to do with my AjaxToolkit version?
Do other controls of the sample code are working on your system? if not, then, you may try re-installing Ajax Toolkit. If yes, Try to debug the code and find out what error it is throwing/ where it got struck.
Anurag Gandhi.
http://www.gandhisoft.com
Life is a computer program and every one is the programmer of his own life.