E
Eric
Hi,
i made dynamically hyperlinks for each file in directory "mydir":
fileEntries = Directory.GetFiles(Server.MapPath("~/mydir/"))
For Each fileName In fileEntries
Dim hl As New HyperLink
hl.NavigateUrl = fileName.Substring(Server.MapPath("~/").Length)
....
Next fileName
This works perfectly with IE7 but not with Netscape/Firefox.
With IE, when putting the mouse on the link, i read in the status bar: http://myserver/myapps/mydir/myfile.aspx
With Netscape, i read: http://myserver/myapps/mydir\myfile.aspx
When clicking on it with Netscape, i see in the addressbar of the browser: http://lmyserver/myapps/mydir\L0386\myfile.aspx
=> BAD REQUEST
Thanks for help
Eric
i made dynamically hyperlinks for each file in directory "mydir":
fileEntries = Directory.GetFiles(Server.MapPath("~/mydir/"))
For Each fileName In fileEntries
Dim hl As New HyperLink
hl.NavigateUrl = fileName.Substring(Server.MapPath("~/").Length)
....
Next fileName
This works perfectly with IE7 but not with Netscape/Firefox.
With IE, when putting the mouse on the link, i read in the status bar: http://myserver/myapps/mydir/myfile.aspx
With Netscape, i read: http://myserver/myapps/mydir\myfile.aspx
When clicking on it with Netscape, i see in the addressbar of the browser: http://lmyserver/myapps/mydir\L0386\myfile.aspx
=> BAD REQUEST
Thanks for help
Eric