The ID of the Update Panel, which will be refreshed with Java Script, should be assigned to Target Control ID. This is the name of the Java Script command, which you will use to update the Update Panel assigned to Target Control ID. On Update property should have the name of the code-behind function to run when a client-side update request happens.
I recently was faced with the task of creating a slideshow with the AJAX Control toolkit.
After the .5 second delay is completed, we get a random image name from the Random Image Name() method.
We then set the text of the image caption to be the name of the new image file. We then limit the random integer to be a number between 1 and 5, since we are only working with 6 images in the slideshow.
To display progress to the user, we handle the Initialize Request at the client side and set the to visible.
This shows up the image with the progress as shown below.
Moreover you can send parameters to the code-behind too.Now, there is a built in Slideshow control but it requires a webservice for the datasource, and I didn't want to clutter up my web project.What I needed was an ajax control with the following requirements: : The timer control fires this event every 10 seconds.The image can be found with the source code for this article over here.The Page Request Manager class handles the partial-page updates of the Update Panel.
Search for animationextender onupdating:
The Update Panel Java Script Extender is build on Ajax Control Toolkit Extender base libraries.