Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have a custom visual web part that contains a SharePoint AttachmentsField control.

<SharePoint:AttachmentsField ID="AttachmentsField1" ControlMode="Edit" ItemId="33"
EnableViewState="true" FieldName="Attachments" runat="server"/>

It renders the attachments correctly, and when I click on each attachment the documents are opened as desired. However, the "delete" link next to each attachment when clicked prompts with a dialog box requesting confirmation of the attachment deletion.

I click OK, and the attachment is removed from the list, however the attachment still exsist, and once the page is refreshed the attachments still remain.

Any insight would be appreciated.

share|improve this question
add comment

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.