awareness to previously uploaded files in form

Last post 08-02-2009, 9:27 PM by cutechat. 6 replies.
Sort Posts: Previous Next
  •  07-28-2009, 6:41 AM 54332

    awareness to previously uploaded files in form

    We use the upload control in a form consisting out multiple steps.
    Users can go to previous steps.
     
    How can we make the upload control aware of  previously uploaded files?
     
    So even when a user sees the control a second or third time, he can't upload more files then allowed.
     
  •  07-28-2009, 2:03 PM 54351 in reply to 54332

    Re: awareness to previously uploaded files in form

    Nivell,
     
    Please check the following examples:
     
    7. Persist Uploaded File through Postback
    A sample demonstrates how to persist the selected files during page postbacks. Ajax Uploader can hold an object temporarily and you can save it anytime you want.
     
    11. Ajax based user profile
    User profile is the primary part of a community application. Ever wanted to allow users update the images of their profiles using AJAX without reloading the page? Check it now!
     
    The source code of thease examples can be found in the download package.

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  07-28-2009, 10:26 PM 54355 in reply to 54332

    Re: awareness to previously uploaded files in form

    Hi,
     
    Please also check the UploadAttachments control.
     
    It will keep the states into the Items collection automatically.
     
    Regards,
    Terry
  •  07-29-2009, 6:52 AM 54363 in reply to 54355

    Re: uploadpanel not updated entirely

    This worked, I was using the UploadAttachments control already, but used the MoveTo object. This off course removed the files from the cotrol.
     
    Now I've placed the UploadAttachments control inside an update panel. This works except one thing. The files are uploaded and i get the little green 'v', but the list doesn't shift to the list overview where one can delete files with the remove button.
     
    What could be the problem?
     
     
  •  07-29-2009, 11:26 AM 54372 in reply to 54363

    Re: uploadpanel not updated entirely

    Hi,
     
    I think the problem is getting error while the MS-AJAX postback.
     
    do you get javascript error ?
     
    Regards,
    Terry
     
  •  07-30-2009, 7:09 AM 54405 in reply to 54372

    Re: uploadpanel not updated entirely

    No javascript errors reported.
  •  08-02-2009, 9:27 PM 54444 in reply to 54405

    Re: uploadpanel not updated entirely

    Hi,
     
    So can you post the code ?
     
    Regards,
    Terry
View as RSS news feed in XML