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> |
<
telerik:RadWindow
ID
=
"ViewOurCatalogsRadWindow"
runat
=
"server"
Behaviors
=
"Close"
BorderStyle
=
"None"
KeepInScreenBounds
=
"true"
IconUrl
=
"/Images/JJIcon16x16.jpg"
CssClass
=
"view-our-jewelry-catalog-window"
VisibleStatusbar
=
"false"
Animation
=
"Slide"
Style
=
"z-index: 9000;"
>
</
telerik:RadWindow
>
.view-our-jewelry-catalog-window
{
width
:
600px
!important
;
height
:
600px
!important
;
}
element.style {
height
:
300px
;
left
:
491px
;
position
:
absolute
;
top
:
85px
;
visibility
:
visible
;
width
:
300px
;
z-index
:
9000
;
}
function
ShowUpdateForm()
{
window.radopen("REPUpdate.aspx","RW1");
return false;
}
I call this function from an update on the server side by using the "InjectScriptLabel" solution.InjectScriptLabel.Text =
"<script>ShowUpdateForm();</script>"
When the page goes to run my function I get this script error:<
telerik:RadWindowManager ID="rwm1" runat="server" Skin="Office2007" Behavior="Default"
InitialBehavior="None" Left="" Top="">
<Windows>
<telerik:RadWindow ID="RW1" runat="server" Behavior="Default" InitialBehavior="None"
Left="" NavigateUrl="" Style="display: none;" Top="" Title="REP Code Changes"
Height="200px" Width="450px" Modal="True" ReloadOnShow="true" >
</telerik:RadWindow>
</Windows>
</telerik:RadWindowManager>
It seems to me the window.radopen command is not being recgonized.
Any thoughts?
var selectedNode = embeddedTree.get_selectedNode();