FileUpload using silverlight client OM in sharepoint 2010 document Library

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 .
sharepointDepotAsked:
Who is Participating?
 
abhitrigConnect With a Mentor Commented:
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
 
sharepointDepotAuthor Commented:
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
 
sharepointDepotAuthor Commented:
Thanks

abhitriq !
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.