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?
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.
Re: path info changes the path
now i have a problem, my button submit event won't get called when using pathinfo...
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. :afrog: