Ultimate Uploader v1.4
Silverlight Control |
Integration into Silverlight project
xmlns:ElementIT="clr-namespace:UltimateUploader;assembly=UltimateUploader"
<ElementIT:UltimateUploadControl x:Name="uploadControl" ChunkMode="Auto" HandlerUrl="/MyHandler.ashx"
FileTypesFilter="MP3 files (*.mp3)|*.mp3" MaxFileSize="16777216" ConcurrentUploads="2" />
Notes on known issues
In Visual Studio Silverlight Tools there is an issue when in some cases the visual designer not render imported control with an error "Unknown attribute A on element B". But for all that the project built and works. In this case you may not to consider it or instead of the XAML declaration add control programatically as shown below:
public Page() { InitializeComponent(); UltimateUploader.UltimateUploadControl uploadControl = new UltimateUploader.UltimateUploadControl(); uploadControl.ChunkMode = UltimateUploader.ChunkModes.Auto; uploadControl.HandlerUrl = "/Upload.ashx"; LayoutRoot.Children.Add(uploadControl); }