2
votes
4answers
553 views

Attachments to Documents

I have a document library. I want to be able to add supporting documents to a document(I am using a custom content type based on document). Ideally I would like to add them as attachments so ...
6
votes
2answers
767 views

Download file from a sharepoint site from code behind

I have an Image button in a custom 2010 webpart, on click of that I would like to download a file. Code Used : foreach (string filename in item.Attachments) { attachmentURL = SiteListURL + ...
1
vote
1answer
282 views

File Attachment control events in InfoPath 2010

Does anyone know of any kind of click events for the File Attachment Control in InfoPath 2010 forms? Here is a link to the control http://msdn.microsoft.com/en-us/library/dd958468(v=office.12).aspx. ...
6
votes
1answer
2k views

Attach a file to the list item

I attach file to the list item when it updating and when new item added. Additional condition when item updating - if the file already exists, remove it and replace the new. I receive events ItemAdded ...