|
-
Aug 4th, 2009, 12:03 PM
#1
Thread Starter
Frenzied Member
path info changes the path
I wanted to retrive the path info string, therefore, my URL is like:
http://localhost/public/test.aspx/123
But when I go to the URL like that, all my stylesheet.css, and image path have changed to invalid ones. My css and images are in the root directory, how can I resolve that with provided URL like that?
-
Aug 4th, 2009, 01:59 PM
#2
Re: path info changes the path
Set the paths to your files using the tilde ~. You won't be able to specify it directly when writing out the css/javascript files, you'll need to concatenate it with HttpRuntime.AppDomainAppVirtualPath.
-
Aug 4th, 2009, 02:05 PM
#3
Thread Starter
Frenzied Member
Re: path info changes the path
now i have a problem, my button submit event won't get called when using pathinfo...
-
Aug 5th, 2009, 02:01 AM
#4
Re: path info changes the path
I don't see any code in your post. Did you put any code there? Because I don't see any there. If you had put some code there, we could look at the code and try to figure out what the problem is. But I see no code there.
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
|