Article information
Article relates to
RadUpload for Silverlight
Created by
Ivan Efimov
Last modified
28-09-2010
Last modified by
Telerik RadUpload for Silverlight supports Chunk tagging. Thus, the UploadHandler has the ability to tag the uploaded chain of chunks. For example, you can use the ChunkTag to save the uploaded files in a database by chunk and not to wait for the whole file to be uploaded (and saved to disk by default). Below are two main points you should be aware of when you customize your upload-handler.
public
override
bool
InitializeChunkStorage(
string
filePath)
{
if
(
this
.IsNewFileRequest())
.ResultChunkTag = MyUniqueKeyGenerator.GetKey();
}
else
.FormChunkTag !=
null
)
.ResultChunkTag =
.FormChunkTag;
...
Resources Buy Try