How to set Image Folder Path Externally

2 posts, 0 answers
  1. jorex
    jorex avatar
    16 posts
    Member since:
    Jan 2009

    Posted 31 Mar 2009 Link to this post

    Hi,

    I would like to ask how to set the path of the Image sources externally? Base from the Demo Project, You have "Examples.CS" where it contains the folder for the images e.g "Examples/Common/Images"... and in your silverlight Project such as "Examples.CoverFlow.CS", you directly reference or pointed out the source path for images.. how did you do this?

    Basically, i just want to load an image base from a parameter form a given path outside the Silverlight Project... please help me with this one..


    Thank you in advance!
  2. Kaloyan
    Admin
    Kaloyan avatar
    920 posts

    Posted 31 Mar 2009 Link to this post

    Hello there,

    Thank you for writing to us. The trick here is that we are copying the images to the web directory location, the same place, where the Default.aspx is placed - in this case (/Examples/Common/Images/CoverFlow/Gallery/) and than point the image source to this server path.

    As a result,  the images are not included in the Silverlight project.

    Best wishes,
    Kaloyan
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top