<!--In your markup -->
<ajaxToolkit:AsyncFileUpload runat="server" ID="fuLogoUploader" OnUploadedComplete="AsyncUpload_UploadedComplete" />
// In your code behind
protected void AsyncUpload_UploadedComplete(object sender, EventArgs e)
{
var fileLocation =
FileHelper.GetFullFilePhysicalPath(SettingsKeyInfoProvider.GetValue(
"LogoUploadLocation",
SiteContext.CurrentSiteName),
null);
var fileUploadEventArgs = e as AsyncFileUploadEventArgs;
var fileUploader = sender as AsyncFileUpload;
if (fileUploader.HasFile)
SaveImageToDisk(fileUploader, fileLocation, fileUploadEventArgs);
}