Hello,
I am trying to implement the Amazon S3 FileBrowserContentProvider to download file from S3 bucket using the function (ForceDownlodFile)
The file gets downloaded properly upon fileclick the RadWindow is opened and the file gets downloaded.
How to hide the RadWindow from code-behind?
Thanks
Michel
Is it possible to set maximum upload file size for different file types?
For example - images (jpg, png etc) have max size for 1mb
and pdf files have max of 4mb?
Currently my setup is
<telerik:RadFileExplorer ID="RadFileExplorer1" runat="server" DisplayUpFolderItem="True"
Width="100%" AvailableFileListControls="All" VisibleControls="TreeView, Grid, Toolbar, ContextMenus">
<Configuration SearchPatterns="*.jpg,*.png,*.bmp,*.jpeg,*.gif,*.tif,*.doc,*.docx,*.zip,*.pdf" MaxUploadFileSize="1024" ></Configuration>
</telerik:RadFileExplorer>
I have created a virtual directory called ~/MyVD and is linked to a share on another server. I was able to connect but have come across a situation.
The virtual directory is linked to \\MyServer\Files
This folder has several folders not all I have access to. When I opened the file explorer it would prompt me for a response to enter my password. This would happen 3 times and I would receive an error saying "Access denied for \\MyServer\File\DNelson
I did not link anything to the folder DNelson but figured out that it is a folder which I do not have access to.
I changed the link to \\MyServer\Files\Projects (which I have access to all the files and folders) and it works great.
My question is that I still want to link to \\MyServer\Files and is there a way to pass by the items that I do not have access to but still show the files and folders I do have access to.
Thanks
Ryan
Hi,
Is it possible to drag filenames from a fileexplorer to preferably a grid, or a treeview?
If so, can anyone guide me how to?
Kind regards
Andreas
Hi All,
I'm using Telerik Release version 2017.1.228.45 and I have a requirement that allows users to be able to drag and drop "files" and "folders" from local desktop to the FileExplorer page for upload. Currently the FileExplorer control supports drag and drop for files only. Is the FileExplorer Control able to support drag and drop of Folders which contain files to be uploaded? Are there any settings or configurations that need to be done?
Thanks,
M
Hi,
I use image manager and override StoreFile to change filename, but after reload, file not select like default. I have many file in Explorer, so how to resolve this issue?
Many thanks!
I called on 1-888-365-2779, sent some emails to Sales@telerik.com and asked following questions online form
but since December 02, 2015 waiting for response. Please anybody from telerik answer following questions.
I need file explorer for my project with following requirements.
Looking for Files Uploader and Downloader software
integrating with Visual Studio 2013 asp.net C#.
Browsing the folder for files upload.
Upload the all files with in selected folder and sub folders (All tree folders
contents) to the database by selecting folder or multiple files selection.
Downloading files from database with same file path with
multiple selection
• Client-side MD5 hash/checksum that could be used to determine if the client
file is different from already uploaded files
• Resume of interrupted uploads
Properties of associated with uploaded files like
Size of file
Created date
Files path from client computer
Development environment
Developing Website by creating Web pages by Web Form using Visual C#, .NET
Framework 4.5 with
Visual Studio 2013, IIS 7, Window 7 Professional, 64 bit Operating System and
SQL Server 2012 R2
Thank you,
Bashir.
Hi team,
I try to integrate RadFileExplorer control in one page. In my project developed by MVP format.
File explorer control is working delete,new folder creation, rename etc., File selected using upload control after click upload button but file is not uploaded.
Its not displayed any error.
I entered code also. kindly provide the solution for this problem. I am waiting for your reply
List page Code:
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ListControl.ascx.cs" Inherits="App.Presentation.CMS.Photobooth.Defaults.DomainControl.ListControl" %>
<%@ Register Assembly="Microsoft.Practices.Web.UI.WebControls" Namespace="Microsoft.Practices.Web.UI.WebControls" TagPrefix="pp" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<h1>Default</h1>
<script>
(function (global, undefined) {
function OnClientItemSelected(sender, args) {
var pvwImage = $telerik.$("#pvwImage").get(0);
var imageSrc = args.get_item().get_url();
if (imageSrc.match(/\.(gif|jpg)$/gi)) {
pvwImage.src = imageSrc;
pvwImage.style.display = "inline-block";
}
else {
pvwImage.style.display = "none";
}
}
global.OnClientItemSelected = OnClientItemSelected;
})(window);
</script>
<table style="width: 100%">
<tr>
<td style="width: 100%">
<telerik:RadFileExplorer runat="server" ID="RadFileExplorer1" Width="595px" Height="350px" EnableOpenFile="true" AvailableFileListControls="All"
EnableAsyncUpload="true" EnableCreateNewFolder="true" AllowPaging="true" PageSize="10" OnClientItemSelected="OnClientItemSelected" >
<Configuration EnableAsyncUpload="true" ViewPaths="~/Resources/Images" MaxUploadFileSize="1048576" AllowMultipleSelection="false"
UploadPaths="~/Resources/Images" DeletePaths="~/Resources/Images"></Configuration>
</telerik:RadFileExplorer>
</td>
</tr>
</table>
Master page code:
<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="App_CMS.master.cs" Inherits="App.Presentation.CMS.App_CMS" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Register Src="CMSMenu.ascx" TagName="Menu" TagPrefix="uc1" %>
<!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 runat="server">
<title>HDB Content Management System</title>
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
<script src='<%= ResolveUrl("~/Scripts/jquery-1.7.1.min.js") %>' type="text/javascript"></script>
<script src='<%= ResolveUrl("~/Scripts/jquery-ui-1.8.17.custom.min.js") %>' type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function () {
$('#dvLogo').click(function () {
document.location.href = "/Home.aspx"
});
});
</script>
</telerik:RadCodeBlock>
<link rel="SHORTCUT ICON" href="/Images/logo.ico" />
<link href="~/Styles/CMSStyleSheet.css" rel="stylesheet" type="text/css" />
<asp:ContentPlaceHolder ID="head" runat="server">
</asp:ContentPlaceHolder>
</head>
<body id="bodyContent">
<form id="form1" runat="server">
<script type="text/javascript">
if (typeof (Telerik) != "undefined" && typeof (Telerik.Web.UI.RadInputControl) != "undefined") {
Telerik.Web.UI.RadInputControl.prototype.updateCssClass_Old = Telerik.Web.UI.RadInputControl.prototype.updateCssClass;
Telerik.Web.UI.RadInputControl.prototype.updateCssClass = function () {
// this._hovered = false;
// this._focused = false;
// //this._focus = false;
// this.updateCssClass_Old();
}
}
</script>
<telerik:RadScriptManager ID="RadScriptManager1" runat="server" EnablePageMethods="true"></telerik:RadScriptManager>
<telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="False" Skin="Sunset"></telerik:RadSkinManager>
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" />
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanel1" UpdatePanelsRenderMode="Inline" />
<div id="divMainContainer">
<div id="divHeader">
<div id="leftcolumn"><img src="/Resources/Images/Logo_HDB.png" /></div>
<div id="rightcolumn"><img src="/Resources/Images/Logo_MNH.png" /></div>
<div class="clear"></div>
</div>
<div id="divMenu" style="width: 100%;">
<uc1:Menu ID="Menu1" runat="server" />
</div>
<div id="divContent">
<div style="margin-top:10px;margin-left:10px;margin-right:12px;">
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
</div>
</div>
<div id="divFooter">
</div>
</div>
</form>
</body>
</html>
<
telerik:RadWindowManager
ID
=
"RadWindowManager1"
runat
=
"server"
Style
=
"z-index: 7001"
>
<
Windows
>
<
telerik:RadWindow
ID
=
"FileManager"
runat
=
"server"
Title
=
""
Height
=
"600px"
Width
=
"800px"
ReloadOnShow
=
"True"
Modal
=
"True"
Skin
=
"WebBlue"
VisibleStatusbar
=
"false"
ShowContentDuringLoad
=
"false"
/>
</
Windows
>
</
telerik:RadWindowManager
>
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FileManager.aspx.cs" Inherits="ComplianceClient.MarketingScreens.FileManager" %>
<!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
runat
=
"server"
>
<
title
></
title
>
<
telerik:RadCodeBlock
ID
=
"RadCodeBlock1"
runat
=
"server"
>
<
style
type
=
"text/css"
>
#<%=RadFileExplorer1.ClientID%>_uploadContainer
{
overflow-x: hidden !important;
}
</
style
>
</
telerik:RadCodeBlock
>
</
head
>
<
body
>
<
form
id
=
"form1"
runat
=
"server"
>
<
telerik:RadScriptManager
ID
=
"RadScriptManager1"
runat
=
"server"
>
</
telerik:RadScriptManager
>
<
div
>
<
asp:Literal
ID
=
"lblScript"
runat
=
"server"
></
asp:Literal
>
<
asp:Label
ID
=
"lblErrorMessage"
runat
=
"server"
Font-Bold
=
"True"
ForeColor
=
"Red"
></
asp:Label
>
<
telerik:RadFileExplorer
ID
=
"RadFileExplorer1"
runat
=
"server"
Skin
=
"WebBlue"
Width
=
"100%"
style
=
"z-index:7001"
>
<
Configuration
EnableAsyncUpload
=
"true"
/>
</
telerik:RadFileExplorer
>
</
div
>
</
form
>
</
body
>
</
html
>
RadFileExplorer1.WindowManager.Style.Add("z-index", "100001");