Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / February 2006

Tip: Looking for answers? Try searching our database.

Problems using Directories

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Roshawn Dawson - 19 Feb 2006 23:59 GMT
Hi,

I'm having a bit of a problem with ASP.NET.  In my root directory I have created three
subdirectories (Shoes, Styles and Xslt).  In the Shoes directory is an .aspx file that makes use of
an xslt file in the Xslt directory.  The xslt file in use uses a css file in the Styles directory.

When I run the page no errors are generated and the data is returned.  However, I see that the
styles in the css file is not used at all.

I've taken the files I'm using in both the Styles and Xslt directories and placed them directly in
the root directory.  Guess what?  I get the same results as before; that is, all data but no style.

Is there some problem with ASP.NET in that files in one directory can't interact with files in
another directory?  I hope I'm wrong in thinking this.  Can anyone point me in the right direction?

Thanks,
Roshawn

PS.  I'm using .NET 1.1.
CJ - 20 Feb 2006 05:07 GMT
You are just referencing the files wrong.  If you aren't able to point
files with ../ syntax, you can always use ~/ to signify the root

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.