I am having trouble with this code. I want to do the same thing in triggering the upload of a queued file from the code behind but I do not use the default queue I am using a custom queue for some reason my uaUserPicture.Items.Count == 0 even though there is 1 file queued up.
my code is:
<CuteWebUI:UploadAttachments runat="server" ID="uaUserPicture" ManualStartUpload="true" MultipleFilesUpload="false"
InsertButtonID="lbChangePicture" ShowProgressBar="false" ShowProgressInfo="false" ShowRemoveButtons="false" />
and in the code behind:
if (SaveUserData() && Page.IsValid)
{
//some code
if (uaUserPicture.Items.Count == 1)
{
UploadUserPicture();
}
}