Multiple file upload
-
Hi, I want to upload multiple image files from within an InsertItemTemplate within a FormView. That Formview is placed in an UpdatePanel. I searched the net for 2 days to find answers to my problem. I am aware that a full postback is required to make the asp.net FileUpload control work and that a PostBackTrigger has to be set inside the UpdatePanel. My problem is that the PostBackTrigger button that I place in the Triggers section of the UpdatePanel can not be found since it is declared in the InsertItemTemplate. Can this be solved some way. I have read that in this case it is better to use an AJAX AsyncFileUpload control, but I can not find any examples where multiple files can be uploaded. I doubt that this is the best way to solve my problem since the upload starts immediately after a file on the local file system is selected. I want to start the upload only when the Insert Button inside the InsertItemTemplate is clicked and therefore do the handling in the ItemInserting event of the FormView. Can anyone please point me to an example where this is done. I can not imagine I am the only one having this problem. tia
-
Hi, I want to upload multiple image files from within an InsertItemTemplate within a FormView. That Formview is placed in an UpdatePanel. I searched the net for 2 days to find answers to my problem. I am aware that a full postback is required to make the asp.net FileUpload control work and that a PostBackTrigger has to be set inside the UpdatePanel. My problem is that the PostBackTrigger button that I place in the Triggers section of the UpdatePanel can not be found since it is declared in the InsertItemTemplate. Can this be solved some way. I have read that in this case it is better to use an AJAX AsyncFileUpload control, but I can not find any examples where multiple files can be uploaded. I doubt that this is the best way to solve my problem since the upload starts immediately after a file on the local file system is selected. I want to start the upload only when the Insert Button inside the InsertItemTemplate is clicked and therefore do the handling in the ItemInserting event of the FormView. Can anyone please point me to an example where this is done. I can not imagine I am the only one having this problem. tia
-
I come from China, the English not very good, but I have an example, I use e-mail sent to you, this example can run, you can serve as a reference. Please tell me your email address.
may this article will help you Upload Multiple Files in ASP.NET using jQuery[^]
-
Hi, I want to upload multiple image files from within an InsertItemTemplate within a FormView. That Formview is placed in an UpdatePanel. I searched the net for 2 days to find answers to my problem. I am aware that a full postback is required to make the asp.net FileUpload control work and that a PostBackTrigger has to be set inside the UpdatePanel. My problem is that the PostBackTrigger button that I place in the Triggers section of the UpdatePanel can not be found since it is declared in the InsertItemTemplate. Can this be solved some way. I have read that in this case it is better to use an AJAX AsyncFileUpload control, but I can not find any examples where multiple files can be uploaded. I doubt that this is the best way to solve my problem since the upload starts immediately after a file on the local file system is selected. I want to start the upload only when the Insert Button inside the InsertItemTemplate is clicked and therefore do the handling in the ItemInserting event of the FormView. Can anyone please point me to an example where this is done. I can not imagine I am the only one having this problem. tia
People hardly have time to read your whole story. Please be precise what exactly you need. If you need multiple file upload control, follow the link: Multiple File Upload User Control[^]
Anurag Gandhi.
http://www.gandhisoft.com
Life is a computer program and every one is the programmer of his own life. -
I come from China, the English not very good, but I have an example, I use e-mail sent to you, this example can run, you can serve as a reference. Please tell me your email address.
Email: paperke67@hotmail.com tia