Slideshow using full file path

Last post 07-05-2007 7:36 PM by rfurdzik. 4 replies.

Sort Posts:

  • Slideshow using full file path

    05-30-2007, 7:39 PM
    • Member
      177 point Member
    • rmelancon
    • Member since 03-30-2005, 3:19 PM
    • Posts 54

    Is there any way to use a fully qualified path (ie - c:\inetpub\pix) instead of a relative path?

  • Re: Slideshow using full file path

    05-30-2007, 11:43 PM

    Where?

    Could you provide some more details? 

    Regards,
    Prashant


    Dont forget to click "Mark as Answer" on the post that helped you.
  • Re: Slideshow using full file path

    05-31-2007, 11:13 AM
    • Member
      177 point Member
    • rmelancon
    • Member since 03-30-2005, 3:19 PM
    • Posts 54

    when loading slides such as:

    s(0) = New AjaxControlToolkit.Slide("images/camera1.jpg", "", "No images found")

    is there a way to use full path for the first parameter instead of relative path.

  • Re: Slideshow using full file path

    06-01-2007, 4:32 AM
    Answer

    Hi,

    Basically, you can get the physical path via Request.PhysicalApplicationPath, and then combine it with  images/camera1.jpg to get the path of the image file.

    But, this path usually invalid on the machine that browsing the page. 

  • Re: Slideshow using full file path

    07-05-2007, 7:36 PM
    • Contributor
      3,429 point Contributor
    • rfurdzik
    • Member since 07-01-2002, 2:32 PM
    • zikbay.com
    • Posts 1,721

    Hi guys, I think the full path does not work, did you get it to work? Seems like whatever pathe you enter to Slide object will add that to the source URL. There may be a way to change that base path. Please follow with this thread: http://forums.asp.net/t/1083830.aspx. One of the Ajax developers will be looking into this...

Page 1 of 1 (5 items)