Existing Files - Display on Form

Last post 02-23-2011, 9:33 PM by Kenneth. 1 replies.
Sort Posts: Previous Next
  •  12-31-2010, 11:15 PM 65570

    Existing Files - Display on Form

    I have the ajax upload working using the Attachment Table demo. This works really well for the Insert.
     
    Need help with the following:
    Existing file list relating to the record needs to be aded to the Attachment table so I can allow users to delete existing records.
     
    I am not sure how to pass the file list to the list considering there is a GUID to be generated in the file list.
     
     
    Thanks in advance.
    Edd
  •  02-23-2011, 9:33 PM 66407 in reply to 65570

    Re: Existing Files - Display on Form

    Hi Edd,
     
    There is a method can add item into uploader.
     
    uploader1.Items.Add(FileSize, FileName, FileStream);
     
    There is a method can remove item in uploader
     
     uploader1.Items[i].Remove();
     
     i is the index of the attachments
     
    Regards,
     
    ken
     
View as RSS news feed in XML