Virtual Path

Last post 02-11-2011, 9:07 PM by Kenneth. 3 replies.
Sort Posts: Previous Next
  •  01-27-2011, 2:52 PM 65920

    Virtual Path

       Can I set the virtual path to a network folder or another location on server.
  •  01-28-2011, 9:21 PM 65943 in reply to 65920

    Re: Virtual Path

    Hi RichHudec,
     
    If it in the same server, please set <trust level="Full" /> in web.config.
     
    If in different server, please make sure your side have the write permission of this folder.
     
    Regards,
     
    Ken
  •  02-03-2011, 1:47 PM 66040 in reply to 65943

    Re: Virtual Path

    Sorry it's taken awhile to get back to this, but thanks for reply. What I'm trying to accomplish is using the DotNetGallery, I want to be able to set the virtual path to someplace other then within project website. I have a bunch of static files and don't want to republish them all the time. If possible can I have and example, I have not been able to come up with something.
  •  02-11-2011, 9:07 PM 66183 in reply to 66040

    Re: Virtual Path

    Hi RichHudec,
     
    1. Add a Virtual Directory under your gallery side
     
     
     
     
     
    2.   Set property "GalleryFolder" ("GalleryBrowser1" is the ID of gallery, "Photos" is the name of the Virtual Directory which under your gallery side )
     
     GalleryBrowser1.GalleryFolder = "~/Photos";
     
    Regards,
     
    ken
     
View as RSS news feed in XML