Hello,
I have a problem with the TargetPhysicalFolder property on the AsyncUpload.
I use 2 websites, one for a commercial site and one for the administration.
When I use the administration site I would send in the folder of commercial site a Picture file in a folder but the AsyncUpload don't send a file in the folder. While if I use a RadUpload then the file uploads correctly.
I want to know how to use AsynUpload with TargetPhysicalFolder.
I use VS 2008, Framework 3.5 and Telerik Version 2010.1.415.35
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="test.aspx.cs" Inherits="BackOffice.test" %> |
<%@ register tagprefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" %> |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
<html xmlns="http://www.w3.org/1999/xhtml"> |
<head id="Head1" runat="server"> |
</head> |
<body> |
<form runat="server" id="mainForm" method="post"> |
<telerik:RadScriptManager ID="ScriptManager1" runat="server" /> |
<telerik:RadProgressManager ID="Radprogressmanager1" runat="server" /> |
<div> |
<table> |
<tr> |
<td id="Td1"> |
<telerik:RadUpload ID="RadUpload2" runat="server" runat="server" MaxFileInputsCount="1" |
TargetPhysicalFolder="C:\\Projet En cours\\SiteCommercialPubert\\SiteCommercialPubert\\Images\\Machine\\" > |
</telerik:RadUpload> |
</td> |
<td id="controlContainer"> |
<telerik:RadAsyncUpload ID="RadUpload1" runat="server" MaxFileInputsCount="1" |
TargetPhysicalFolder="C:\\Projet En cours\\SiteCommercialPubert\\SiteCommercialPubert\\Images\\Machine\\" > |
</telerik:RadAsyncUpload > |
<asp:Button id="buttonSubmit" runat="server" |
OnClick="buttonSubmit_Click" text="Submit"/> |
</td> |
</tr> |
</table> |
</div> |
</form> |
</body> |
</html> |
Thanks,
Xavier THIERRY