Hi!
I am developing a web application, where user inputs some data and also
attaches few files to the same data. The scenario is as below
1. User input the data for To, From etc..
2. Then clicks on browse button and selects the file to upload
3. The file name is captured and saved into a Dataset.
4. The Dataset is Bound to a Datagrid to show the files the user has attached.
5. He can attach multiple files in same way
6. Also he can delete any of the attached files
The Issue : the files should not be physically uploaded unless and until the
complete data is saved successfully to the database.
How can we do it. How can i upload a list of files to the server when i just
have their physical paths only? OR else i can have a temp folder where the
uploaded files will be stored and later moved to the correct folder? How to
track when the user has moved out of the page?? 'Coz he can click the top
DHTML dropdown menu and exit out of the page?
Please suggest??
Thanks,
Baren