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 am rendering the fields of a content type in my page. The name field is rendered, and is a Microsoft.SharePoint.WebControls.FileField control. I select a file in this field, and I post the page.

How can I get the posted file of the FileField control in order to save it to SharePoint?

share|improve this question
    
Did you ever find a solution for this question? If yes, could you post it as an answer? –  Kit Menke Jun 10 '11 at 13:53
add comment

1 Answer 1

This is essentially the same as the Stack Overflow question Can a Content Type have a site column of type file? The answer is you can't do this:

a content type either represents a file or it doesn't. You can't have a file as metadata to a content type that does not derive from document.

share|improve this answer
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.