Hi,
I am using RadAsyncUpload of version 2010:1:309:0.Multiple files are being uploaded but the target folder where the files are stored is in the app_data directory of the project.Even though I gave the TargetFolder Property to a specified directory the files are being stored in app_data only.
Can any one please let me know how to resolve this issue with AsyncUpload?
<telerik:RadAsyncUpload runat="server" ID="AsyncUpload1" Visible="false"
OnFileUploaded="AsyncUpload1_OnFileUploaded" OnClientAdded="addTitle" MultipleFileSelection="Automatic" >
</telerik:RadAsyncUpload>
protected void AsyncUpload1_OnFileUploaded(object sender, FileUploadedEventArgs e)
{
for (int i = 0; i < AsyncUpload1.UploadedFiles.Count; i++)
{
AsyncUpload1.TargetFolder = Server.MapPath("..\\..\\..\\Attachments\\");
AsyncUpload1.TargetPhysicalFolder = Server.MapPath("..\\..\\..\\Attachments\\");
AsyncUpload1.TemporaryFolder = Server.MapPath("..\\..\\..\\Attachments\\");
}
}
Thanks In Advance,
h@r!.
I am using RadAsyncUpload of version 2010:1:309:0.Multiple files are being uploaded but the target folder where the files are stored is in the app_data directory of the project.Even though I gave the TargetFolder Property to a specified directory the files are being stored in app_data only.
Can any one please let me know how to resolve this issue with AsyncUpload?
<telerik:RadAsyncUpload runat="server" ID="AsyncUpload1" Visible="false"
OnFileUploaded="AsyncUpload1_OnFileUploaded" OnClientAdded="addTitle" MultipleFileSelection="Automatic" >
</telerik:RadAsyncUpload>
protected void AsyncUpload1_OnFileUploaded(object sender, FileUploadedEventArgs e)
{
for (int i = 0; i < AsyncUpload1.UploadedFiles.Count; i++)
{
AsyncUpload1.TargetFolder = Server.MapPath("..\\..\\..\\Attachments\\");
AsyncUpload1.TargetPhysicalFolder = Server.MapPath("..\\..\\..\\Attachments\\");
AsyncUpload1.TemporaryFolder = Server.MapPath("..\\..\\..\\Attachments\\");
}
}
Thanks In Advance,
h@r!.