Silverlight 4 version code available

Nov 22, 2009 at 3:14 AM

FYI SilverlightBridge (http://silverlightbridge.codeplex.com/) uses this library and also shows how to auto populate the upload dialog:

// Add the file to upload
FileInfo objFile = new FileInfo(objFileObject.LocalFileNameAndPath);
DC.FileUpload.FileUpload objFileUpload = new DC.FileUpload.FileUpload(FileUploadPopupWindow.Dispatcher, uri, objFile);
FileUploadPopupWindow.uploadControl.files.Add(objFileUpload);

FileUploadPopupWindow.Show();