?
Solved

FileUpload using silverlight client OM in sharepoint 2010 document Library

Posted on 2011-10-17
4
Medium Priority
?
640 Views
Last Modified: 2013-11-26
Hi,

I want to create a single File Upload control to upload (word) documents into sharepoint Library.

I referred this link..http://technicaldishes.blogspot.com/2010/01/silverlight-clientobject-model.html

or

http://www.learningsharepoint.com/2010/10/16/upload-document-silverlight-client-object-model-sharepoint-2010/

but i didn't know how  allFiles & lstFiles  come ? where to declare them and what ?

can anyone tell me ?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
succeedUploadFileListner()
{
byte[] dataArray = allFiles[lstFiles.Items[0].ToString()];
}

Thanks in advance .
0
Comment
Question by:sharepointDepot
  • 2
  • 2
4 Comments
 
LVL 14

Expert Comment

by:abhitrig
ID: 36980527
0
 

Author Comment

by:sharepointDepot
ID: 36985487
Hi,

Its bit complictd and user need to drag and drop files exact on shown doc library.

I want simple UI like this.. http://aspilham.blogspot.com/2010/04/file-upload-in-chunks-using-silverlight.html

But unfortunately this application is windows based and getting difficulty to change to Sharepoint.

so can anyone help me for a neat silverlight based cotrol to upload doc to SP 2010 library.

Thanks
0
 
LVL 14

Accepted Solution

by:
abhitrig earned 500 total points
ID: 36986259
Dragging is just the front-end. you can change it to a simple browse and upload. Look at the UploadFile method for the actual upload logic.
0
 

Author Comment

by:sharepointDepot
ID: 36991348
Thanks

abhitriq !
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
When using a search centre, I'm going to show you how to configure Sharepoint's search to only return results from the current site collection. Very useful when using Office 365 with multiple site collections.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question