|
yogaboy -> RE: firefox vs ie textbox probs (10/28/2005 9:50:41)
|
Ok, I've found an answer through a bit of fiddling around with code, so I'll post it up incase anyone else comes across this with the same problem (how thoughtful I can be! [:)] ) instead of accessing the filename through string filename = File1.PostedFile.FileName; where File1 is the id of the input control, use this instead System.IO.Path.GetFileName(File1.PostedFile.FileName); and to get the dir use System.IO.Path.GetDirectoryName or any other overload you need. This will harmonize the returned values from FF or IE etc.
|
|
|
|