We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

my webapp can't find the path of the fileexplorer

Thread ID:

Created:

Updated:

Platform:

Replies:

146990 Aug 27,2019 09:40 PM UTC Aug 30,2019 05:39 AM UTC ASP.NET Web Forms 5
loading
Tags: FileExplorer
eduardo manuel leon cuya
Asked On August 27, 2019 09:40 PM UTC

Hi !

i have a problem here, so, I use the syncfusion Community, i dont know if this is a problem, so, when I debug the project in my localhost, dont show the path, and i got a popup with an "Error".

This is my master page

<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="File.master.cs" Inherits="WebApplication1.Ventas.File" %>

<!DOCTYPE html>

<html lang="en">
<head runat="server">
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title><%: Page.Title %> - My ASP.NET Application</title>

    <asp:PlaceHolder runat="server">
        <%: Scripts.Render("~/bundles/modernizr") %>
    </asp:PlaceHolder>

    <webopt:bundlereference runat="server" path="~/Content/css" />
    <link rel='nofollow' href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />

  <%:Styles.Render("~/Content/bootstrap.min.css") %>
     <%:Styles.Render("~/Content/Site.css") %>
     <%:Styles.Render("~/Content/ej/web/Material/ej.web.all.min.css") %>
    <%:Styles.Render("~/Content/ej/web/Material/ej.reportdesigner.min.css") %>

     <!--[if lt IE 9]>
    <%: Scripts.Render("~/Scripts/jquery-1.11.3.min.js")%>
    <![endif]-->
    <!--[if gte IE 9]><!-->
    <%: Scripts.Render("~/Scripts/jquery-3.4.1.min.js")%>
    <!--<![endif]-->
    <%: Scripts.Render("~/Scripts/bootstrap.min.js")%>
    <%: Scripts.Render("~/Scripts/pivotgrid.datasource.js")%>
    <%: Scripts.Render("~/Scripts/jsrender.min.js")%>
    <%: Scripts.Render("~/Scripts/ej/ej.web.all.min.js")%>
    <%: Scripts.Render("~/Scripts/ej/ej.reportdesigner.min.js")%>
    <%: Scripts.Render("~/Scripts/ej/ej.webform.min.js")%>
    <%: Scripts.Render("~/Scripts/jsondatachart.js")%>
    <%: Scripts.Render("~/Scripts/sampleslist.js")%>
    <%: Scripts.Render("~/Scripts/properties.js")%>
   <%: Scripts.Render("~/Scripts/ZeroClipboard.js")%>
</head>
<body>
    <form runat="server">
        <asp:ScriptManager runat="server">
            
        </asp:ScriptManager>

        <div class="navbar navbar-inverse navbar-fixed-top">
            <div class="container">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                    <a class="navbar-brand" runat="server" rel='nofollow' href="~/">Application name</a>
                </div>
                <div class="navbar-collapse collapse">
                    <ul class="nav navbar-nav">
                        <li><a runat="server" rel='nofollow' href="~/">Home</a></li>
                        <li><a runat="server" rel='nofollow' href="~/About">About</a></li>
                        <li><a runat="server" rel='nofollow' href="~/Contact">Contact</a></li>
                    </ul>
                </div>
            </div>
        </div>
        <div class="container body-content">
            <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
            </asp:ContentPlaceHolder>
            <hr />
            <footer>
                <p>&copy; <%: DateTime.Now.Year %> - My ASP.NET Application</p>
            </footer>
        </div>

    </form>
</body>
</html>

And this is my ASPX.

<%@ Page Title="" Language="C#" MasterPageFile="~/Ventas/File.Master" AutoEventWireup="true" CodeBehind="Filemanager.aspx.cs" Inherits="WebApplication1.Ventas.Formulario_web12" %>


<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
     <script src='<%= Page.ResolveClientUrl("~/Scripts/ej/i18n/ej.culture.en-US.min.js")%>' type="text/javascript"></script>
<script src='<%= Page.ResolveClientUrl("~/Scripts/ej/l10n/ej.localetexts.en-US.min.js")%>' type="text/javascript"></script>
<div id = "ControlRegion">
    <ej:DatePicker ID="Datepicker1" runat="server"></ej:DatePicker>
    <ej:FileExplorer ID="fileexplorer" runat="server" IsResponsive="true" Width="100%" AjaxAction="Filemanager.aspx/FileActionDefault" Path="~/Content/images/FileExplorer">
        <AjaxSettings>
            <Download Url="downloadFile.ashx{0}" />
            <Upload Url="uploadFiles.ashx{0}" />
        </AjaxSettings>
    </ej:FileExplorer>
</div>
</asp:Content>

I change the name of those, so i dont know if this is a problem.



Ashokkumar Balasubramanian [Syncfusion]
Replied On August 28, 2019 09:46 AM UTC

Hi Eduardo, 
 
Good day to you. 
 
We have prepared a FileExplorer sample with the provided code in Asp.Net and the control is rendered fine. We are not clear on what error you receive in popup. Please ensure whether the correct path is provided for FileExplorer content as well as AjaxAction. Please refer to the following link for sample. 
 
 
Check the above sample and if the issue persists, kindly modify the above sample to replicate the issue else share us screenshot on the error which you get in your end along with product version so that we can proceed further. 
 
 
Please let us know, if you have any concern on this. 
 
Regards, 
Ashokkumar B. 


eduardo manuel leon cuya
Replied On August 28, 2019 04:00 PM UTC

dont worry and thanks for the reply,

I give you a credential to see my error better.


User: eleon
Password: mGid2305@

So, please try to help me.





Ashokkumar Balasubramanian [Syncfusion]
Replied On August 29, 2019 09:53 AM UTC

Hi Eduardo,  
 
Thanks for sharing us the website.  
 
We checked the response and preview tab received during the read request sent from FileExplorer AJAX action.  The network response is as shown below in your website. 
 
 
 
It seems the server which has the data to be displayed fails in Authentication (permission for reading the files may be denied) and hence the files are not shown. Please refer to the below given blogs to resolve the issue in your end. 
 
 
 
In our working sample provided earlier, the response data will be as shown below which is the correct format.  
 
 
 
Please check the above provided information’s and get back to us, if you require any further assistance on this. 
 
Regards, 
Ashokkumar B

eduardo manuel leon cuya
Replied On August 29, 2019 03:35 PM UTC

thanks, this works now.

resolved !

Ashokkumar Balasubramanian [Syncfusion]
Replied On August 30, 2019 05:39 AM UTC

Hi Eduardo, 
 
We are glad to hear that the problem has been resolved. Please let us know, if you need any further assistance. 
 
Regards, 
Ashokkumar B. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon