How to get Selected file's path of FileUploadField by DirectEvents
How to get Selected file's path of FileUploadField by DirectEvents
How to get fileUploaderField's posted file's path by Directevents?
Sorry My english is not good. I believe to help me
I'm tried it. it work result: my asp project's path + postedFile.Name
I wanna get postedfile path to image's url. Help
Same Problem --FileUploadField FullPath
I get it the same problem as his .
First:
The function MapPath(FileUploadField1.FileName) just get the current project's location add the FileUploadField1.FileName,not
the selected file's fullpath ;Like ,I selected the file :E :/Test/1.jpg, and the project location is D:/Ext/ExtProject, and when I use the MapPath()
,I get the path :D:/Ext/ExtProject/1.jpg, ,,but I want get the path :E :/Test/1.jpg .
Second :how to get the FileUploadField fullpath in code behind use it's ID ,I take " X.GetCmp<FileUploadField>(ID).HasFile " is always null !
Please help me !