Uploader for Silverlight
Determining whether C1Uploader is Busy

Within your application, you may want to determine whether the C1Uploader control is currently busy. You can determine whether a file is being uploaded or if C1Uploader has finished uploading files. To do so, use the IsBusy property. The code below determines whether the C1Uploader control is currently busy, and if not, uploads a new file.

To determine whether the uploader is busy:

Visual Basic
Copy Code
If uploader.IsBusy = False Then
    uploader.AddFile("test.pdf", stream)
    uploader.BeginUploadFiles()
End If

 

C#
Copy Code
if (uploader.IsBusy == false)
{
    uploader.AddFile("test.pdf", stream);
    uploader.BeginUploadFiles();
}
See Also

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback