My Radupload control is not remebmering the value on post back and therefore loosing its value to upload the files.
<telerik:RadAsyncUpload ID="rdFileUploads" TargetFolder="~\uploads\" MultipleFileSelection="Automatic" runat="server"></telerik:RadAsyncUpload>
01.
foreach
(UploadedFile file
in
rdFileUploads.UploadedFiles)
02.
{
03.
tblApertureNetAttachment _attachment =
new
tblApertureNetAttachment();
04.
05.
string
fullPath = Server.MapPath(@
"~\Uploads\"
);
06.
string
fileName = txtRef.Text +
"_"
+ txtFirstname.Text +
"_"
+ txtLastName.Text +
"_"
+ file.FileName;
07.
file.SaveAs(Path.Combine(fullPath, fileName),
true
);
08.
09.
10.
}