A
Author #1
My asp.net 3.5 web application needs to upload many user documents to
the SQL Server database. I don't quite like the asp.net native
FileUpload control, so I searched a little on the web and found one at
http://en.fileuploadajax.subgurim.net/
It is pretty good in that it is free and works like the gmail
attachment uploader.
The only problem I have with this control is this:
If I pass some variables and their values from Page1.aspx through the
query string to Page2.aspx which uses this control, I won't be able to
retrieve these variables from the query string. I also tried passing
these variables through the Context collection, it still doesn't
work. It'll work if I pass these values through session or if I store
them in the SQL Server database and retrieve them in Page2.aspx.
Somehow the query string or the Context collection isn't available to
the iframe of the this file upload control, thus when the file upload
causes a postback, I receive an exception.
I don't quite like the session or db solution to this problem, because
the session variable will be available to all pages while the session
is valid. And for the db solution, I will have to clean up the stored
variables in the db when the session times out or when a user logs
out. A lot of trouble.
Any suggestion for a good ajax file uploader? Thanks.
the SQL Server database. I don't quite like the asp.net native
FileUpload control, so I searched a little on the web and found one at
http://en.fileuploadajax.subgurim.net/
It is pretty good in that it is free and works like the gmail
attachment uploader.
The only problem I have with this control is this:
If I pass some variables and their values from Page1.aspx through the
query string to Page2.aspx which uses this control, I won't be able to
retrieve these variables from the query string. I also tried passing
these variables through the Context collection, it still doesn't
work. It'll work if I pass these values through session or if I store
them in the SQL Server database and retrieve them in Page2.aspx.
Somehow the query string or the Context collection isn't available to
the iframe of the this file upload control, thus when the file upload
causes a postback, I receive an exception.
I don't quite like the session or db solution to this problem, because
the session variable will be available to all pages while the session
is valid. And for the db solution, I will have to clean up the stored
variables in the db when the session times out or when a user logs
out. A lot of trouble.
Any suggestion for a good ajax file uploader? Thanks.