Translate

lunes, 13 de enero de 2014

ASP.NET/Ajax ToolKit: SlideShowExtender en Master Pages



You can use the Ajax Toolkit component to create an image slider. It´s a very easy component to use. You only need an image, an a SlideShowExtender pointing to this image. Also you will need a method in the code behind of the page to load the images into the slider.

If you try to do this into a master page then you need to create a Web Service to store the method needed to load the images.

This is the code into the markup to create the slider. This page is a master page called Site.Master




and this is the code for the web service, including a method called GetSlides to load the slides into the Slider component:

No hay comentarios: