ASP.NET Core 1.0.1 Hosting: Make A Slide Show In ASP.NET Using AJAX Library Tool

Open Your Visual Studio, go to File-> New Web Site and choose ASP.NET Web Form Site and name it as -> [slideshow_demo].
Step 2
In Solution Explorer, you get your demo Website. There will be many files, but we just needed the main file as – Default.aspx. Open Default.aspx file and place your AJAX Script Manager inside the content placeholder. If at any instance, an error comes, then you should include any Script Manager, as it was already there in the master page, so you need to include it in this case.

Step 3
Afterwards, add one Timer control from AJAX library. We will use this Timer control to generate tick event, so that our slideshow shows images in our accessible time. Also, add an Image control below Timer control.

Script Manager
Script Manager enables client side script to use the extension and library of Microsoft ASP.NET AJAX library. Without this manager, you cannot access AJAX tools. It also enables the partial page rendering.

Timer Control
Timer can be used as a trigger. It will trigger the toolkit control to work for this most of the time. If you set the trigger for 10 sec (generally in milliseconds), then the control will work every 10 seconds. It will also deal with Postback condition, which caused the network traffic and delays.

Update Panel
This control is the most important control in the website development, you have seen this many times, that whenever we use some time related control especially the control, which needs transformation or rendering, like slideshow, image gallery, date time control and many more, instead of refreshing the single control; the whole Webpage gets refreshed after every interval. This is not the part in networking or even in the development. To remove such a hindrance; an update panel is used, where such control that needs updating at every interval can be put inside Update Panel.



I cannot show you the perfect output, as GIF is not allowed in the Website. Therefore, I am sharing my source code, which you can try.