ASPX templates
Version 5.x > ASPX templates > Uploading Files View modes: 
User avatar
Member
Member
mickey-invision - 1/7/2010 12:23:50 PM
   
Uploading Files
I have a custom document type, where one of the fields is of type 'File'. I'm using my own form to insert any documents of this type into the node structure using the API methods. How do you upload a new file to this field, and how do I allow someone to edit and delete this image? (outside of CMS desk)

User avatar
Kentico Developer
Kentico Developer
kentico_martind - 1/14/2010 7:18:35 AM
   
RE:Uploading Files
Hello,

you can use sample code from Managing attachments section from Dev.Guide to add/remove attachments.

Best Regards,

Martin Dobsicek