locked
How to add hyperlink to image slide show with SlideShowExtender AjaxToolKit Control? RRS feed

  • Question

  • User1131141243 posted

    Hi all,

    I am working on a web site. I want to use SlideShowExtender (one of AjaxToolKit controls) to display a image slide show on the page. The image infomation (Image_ID, File_Path, File_Name)  will be retrieved from the sql server. Then I get the images from a disk folder based on the image information. For example, I want to slide show five images on the web. Atfer the user clicks one of images from the slide show, it should pass a parameter (Image_ID) to a new page. And then it opens a new page base on the Image_ID. 

    My questions is: How can I pass a parameter (Image_ID) from slide show to a new page? I do not know how to get the Image_ID from the SlideShowExtender. If I can not do this using SlideShowExtender, could you please give me any suggections?

    Thank you in advance for any help! 

    Thursday, May 28, 2009 6:46 PM

Answers

  • User-925286913 posted

    Not possible for images but you can make the desciption field as hyperlink as:

    new AjaxControlToolkit.Slide("images/Water lilies.jpg", "<a href='http://google.com'>Water lillies</a>", "Lillies in the water")

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, May 29, 2009 2:45 AM

All replies

  • User-925286913 posted

    Not possible for images but you can make the desciption field as hyperlink as:

    new AjaxControlToolkit.Slide("images/Water lilies.jpg", "<a href='http://google.com'>Water lillies</a>", "Lillies in the water")

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, May 29, 2009 2:45 AM
  • User1131141243 posted

    Thank you very much for your good solution!

    Friday, May 29, 2009 11:47 PM
  • User-925286913 posted

    WC. Please let me know if you get the Code to give hyperlink to the image in SlideShow.

    Saturday, May 30, 2009 6:50 AM