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 designing a custom page(inheriting from a custom master page) in one of my WSS 3.0 website. I am displaying all the files in a document library in a data-view web part.

Now, on the same page we need to provide provision to user for uploading files to this document library. There are few custom columns also in the document library for which we expect user to input values while uploading any file. Can anybody suggest the best approach for this requirement ?

We are looking for a code less (out of the box) solution for the problem.

Thanks in advance.

share|improve this question
    
I'm not familiar with wss-3.0, but I guess you can't just point OpenPopupPage to /_layouts/Upload.aspx?List=...? :) –  eirikb Nov 1 '12 at 6:09
add comment

1 Answer

up vote 0 down vote accepted

Similar question: how to upload file to sharepoint doc library via c# application?

Look at this article in msdn: http://msdn.microsoft.com/en-us/library/ms454491.aspx which states how to store file in sharepoint.

Basically, its similar to how you do in asp.net but with some provision related to content types/column values etc. You can handle it easily.

Let me know if you need more help.

share|improve this answer
    
Thanks Prashant. Actually we are looking for some out of the box solution(No server-side code) for this. I have edited my question accordingly. Do you have any suggestion for this ? –  Amit Tyagi Nov 1 '12 at 6:09
    
Yes for out of the box facility, you can open your page in sharepoint designer and add DataViewer web part. –  Prashant Lakhlani Nov 1 '12 at 6:10
    
DataViewer webpart will display the list items. But how would we get the option for File upload ? –  Amit Tyagi Nov 1 '12 at 6:46
    
It will also display option to add document, you can configure it so that it doesn't show any item (set filter in that way) and also configure it to not show headers –  Prashant Lakhlani Nov 1 '12 at 6:48
    
Thanks a lot Prashant, i got what i wanted. :) –  Amit Tyagi Nov 1 '12 at 7:13
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.