asp.net - File uploading in AJAX updatepanel without full postback -


I have an updated panel, in the update panel I have file upload control and button control, click on the button, me File is required that I have uploaded the update in the fileupload in the filepanel

In the precise scenario, I have 8 tabs on the page, each tab contains a lot of information, one of the tabs is the attachment, when the user New Attachment Model popup clicks on display, View details in the update panel and in its details in the report I have the file upload control, when the user presses the Save button, see the Insert Event Details description, in the event of inserting I need a file that I uploaded
Please note, my page is heavy and I do not want full postback.


Does anyone have a solution to this issue?

Thank you in advance for your kind help .....

To solve the problem, please see the following steps.

  1. Add AJAX-uploads to your extension view.
    • Iframe-based Uploader Resource # 1 Like
    • Silverlight-based & amp; Flash-based uploader I like this technology because it does not require server-side scripts for the current upload display state. But in HTML5, you can create it without using any web browser plug-in.
    • Commercial Uploader like Resource # 2. who use hidden iframe to upload.
  2. Upload the file to a temporary location.

    • System Response Temporary Places Next, the customer keeps the temporary location as an extension in hidden inputs.
    • Keep the temporary location with session_id. You can depend on your framework in the database or session variable.
    • When you click on the Save button, the system files will move to their original location

Update

Resource

/ Strong>

After almost a year, I got a great third-party control for this question. This is an open source plug-in of jQuery. This name is Plupload which allows you to upload files using HTML 5, Silverlight, Flash or Normal forms, and it has some unique features such as upload progress, image resizing and selected Provides uploads.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -