|
-
December 29th, 2007, 08:37 PM
#1
[resolved]referencing root directory of web site?
Hi all...
I'm having a problem developing a CSS-based menu structure. I prefer having many of my files in subdirectories below the root. For example, I have a subdirectory just off the root, called "Computer", and a file called stuff.aspx.
When I used Dreamweaver, I could refer to this file as /Computer/stuff.aspx. However, when I do that with Visual Studio, it seems to take into consideration the name of the folder where I created my project as part of the web site!
For example, I created my web site in a file called "Personal". When I get errors (like trying to use the ~ symbol for referencing the root directory), the error I get has "Personal" in the error message.
Is this a Visual Studio thing? If I ran under IIS would that help? Of course, I guess I should try that, but it's so convenient just to run under the Visual Studio Development Server while testing.
Last edited by ronmoles; December 30th, 2007 at 06:53 PM.
Reason: resolved the issue
C# - Visual Studio 2005
Frameworks 2.0
-
December 30th, 2007, 06:55 PM
#2
Re: referencing root directory of web site?
Figured it out...
I changed to using a hyperlink web control instead of just an html <a> tag.
C# - Visual Studio 2005
Frameworks 2.0
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|