I want to attachment mail so i use AsyncUpload :
I get an exception File not found !! how attach the file with this method
<
telerik:RadAsyncUpload
runat
=
"server"
ID
=
"rad_upload"
Skin
=
"Default"
OnClientFileUploadFailed
=
"onUploadFailed"
<br> OnClientFileSelected="onFileSelected" OnClientFileUploaded="onFileUploaded" Culture="Arabic" TemporaryFileExpiration="00:07:00" > <
Localization
Select
=
"اختر"
/> </
telerik:RadAsyncUpload
>
List<Attachment> attach =
new
List<Attachment>();
if
(rad_upload.UploadedFiles !=
null
&& rad_upload.UploadedFiles.Count > 0){;
foreach
(UploadedFile file
in
rad_upload.UploadedFiles){; Attachment f =
new
Attachment(Server.MapPath(
"~/App_Data/RadUploadTemp/"
) + file.GetName(), file.ContentType); attach.Add(f); }
I get an exception File not found !! how attach the file with this method