hi,
Becaust I want to do something on the server when the file is uploaded,how can I capture the uploaded event in RadUploadHandler?
thx~
1 Answer, 1 is accepted
0
Martin Ivanov
Telerik team
answered on 28 Feb 2014, 09:19 AM
Hi,
In order to execute some custom logic in the RadUploadHandler after a file is uploaded you will need to override its GetAssociatedData() method of the handler which is executed on each Final-file-request.
public class SampleUploadHandler : RadUploadHandler
{
public override Dictionary<string, object> GetAssociatedData()
{
// do something....
return base.GetAssociatedData();
}
}
You can read more about the methods in the RadUploadHandler that can be overridden in this help article.