Hi guys
I was wondering if any one here can help me...
my problem is that I'm trying to make my own photo album; I've used directories as albums my problem is that I can't seem to be able to display directories on certain directory Assume "Album>Album2" Album2 is subdirectory; any help on how to display the subfolders in ASP.NET?
Display server Files...
Started by Speedular, Feb 07 2009 02:23 AM
1 reply to this topic
#1
Posted 07 February 2009 - 02:23 AM
|
|
|
#2
Posted 20 February 2009 - 02:47 AM
Hi
I am not sure that i understand what it is you want. If you want to show a navigation path like "Album>Album2" you can do that by creating a SiteMap File and save it as web.sitemap in the root directory of your web.
The SiteMap File could look like:
where you want your navigation path to be.
Please correct me if you meant something else, then i'll try again :)
Hope it helps
--
Kasper Elbo
I am not sure that i understand what it is you want. If you want to show a navigation path like "Album>Album2" you can do that by creating a SiteMap File and save it as web.sitemap in the root directory of your web.
The SiteMap File could look like:
<?xml version="1.0" encoding="ISO-8859-1" ?> <siteMap> <siteMapNode title="Home" url="/home.aspx"> <siteMapNode title="Albums" url="/Albums/Albums.aspx"> <siteMapNode title="Album 1" url="/Albums/Album_1.aspx"/> <siteMapNode title="Album 2" url="/Albums/Album_2.aspx"/> </siteMapNode> </siteMapNode> </siteMap>Then you just place an "
<asp:SiteMapPath runat="server" />" control
where you want your navigation path to be.
Please correct me if you meant something else, then i'll try again :)
Hope it helps
--
Kasper Elbo


Sign In
Create Account


Back to top









