e.g.
private List<long> returnParams;
public override void ProcessStream()
{
if (this.IsFinalFileRequest())
{
List<long> returnParams = new List() {1,2,3};
this.AddReturnParam(RadUploadConstants.ParamNameSuccess, true);
this
.AddReturnParam(RadUploadConstants.ParamNameAssociatedData, GetAssociatedData());
}
}
public override Dictionary<string, object> GetAssociatedData()
{
Dictionary<string, object> dict = base.GetAssociatedData();
dict.Add("IsAuth", true);
if (returnParams!= null && returnParams.Count > 0)
dict.Add("returnParams", returnParams);
return dict;
}
However, the object is not being set in FileUploadedEventArgs
What is the proper way to do that? I also want to set the object in FileUploadFailedEventArgs when upload fails