Hi Everybody,
Creating new folder in file explorer is not working for me. I tried creating it on client side.
I tried using the following method, it didn't worked, it shows the alert('in') repeatedly like a loop, and its not going through.
Anyone please give me a suggestion.
<telerik:RadFileExplorer runat="server" ID="FileExplorer1" Width="95%" Height="450px"
OnClientDelete="OnClientDelete" CssClass="rfeFocus" AllowPaging="true" PageSize="6"
EnableCopy="true" EnableCreateNewFolder="true" OnClientCreateNewFolder="GetName">
<Configuration ViewPaths="~/FileExplorer/Default/Root Folder/Documents" UploadPaths="~/FileExplorer/Default/Root
Folder/Documents" DeletePaths="~/FileExplorer/Default/Root Folder/Documents" />
<KeyboardShortcuts FocusFileExplorer="Ctrl+f2" FocusToolBar="Shift+1" FocusAddressBar="Shift+2"
FocusTreeView="Shift+3" FocusGrid="Shift+4" FocusGridPagingSlider="Shift+5" UploadFile="Ctrl+u"
Back="Ctrl+k" Forward="Ctrl+l" NewFolder="Ctrl+n" Refresh="Ctrl+f3" ContextMenu="Shift+m" />
</telerik:RadFileExplorer>
function GetName()
{
alert('in');
var MyFM = $find('<%= FileExplorer1.ClientID %>');
var appRoot = '<%= VirtualPathUtility.ToAbsolute("~") %>';
MyFM.createNewDirectory(appRoot + "/Test", "556477");
}
Any one please provide a solution to this issue.
Thank You,
Creating new folder in file explorer is not working for me. I tried creating it on client side.
I tried using the following method, it didn't worked, it shows the alert('in') repeatedly like a loop, and its not going through.
Anyone please give me a suggestion.
<telerik:RadFileExplorer runat="server" ID="FileExplorer1" Width="95%" Height="450px"
OnClientDelete="OnClientDelete" CssClass="rfeFocus" AllowPaging="true" PageSize="6"
EnableCopy="true" EnableCreateNewFolder="true" OnClientCreateNewFolder="GetName">
<Configuration ViewPaths="~/FileExplorer/Default/Root Folder/Documents" UploadPaths="~/FileExplorer/Default/Root
Folder/Documents" DeletePaths="~/FileExplorer/Default/Root Folder/Documents" />
<KeyboardShortcuts FocusFileExplorer="Ctrl+f2" FocusToolBar="Shift+1" FocusAddressBar="Shift+2"
FocusTreeView="Shift+3" FocusGrid="Shift+4" FocusGridPagingSlider="Shift+5" UploadFile="Ctrl+u"
Back="Ctrl+k" Forward="Ctrl+l" NewFolder="Ctrl+n" Refresh="Ctrl+f3" ContextMenu="Shift+m" />
</telerik:RadFileExplorer>
function GetName()
{
alert('in');
var MyFM = $find('<%= FileExplorer1.ClientID %>');
var appRoot = '<%= VirtualPathUtility.ToAbsolute("~") %>';
MyFM.createNewDirectory(appRoot + "/Test", "556477");
}
Any one please provide a solution to this issue.
Thank You,