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. Image for the cookie policy date

File explorer localization and file name already exists

After taken a look to: http://help.syncfusion.com/aspnetmvc/fileexplorer/localization-and-rtl-support
There some keys and texts missing on the documentation:

When a user tries to upload a file, and there is a file in the folder with the same name. An error pop-up appears.

Two problems there:
  1. How can I change the header, error label, and buttons' text from in the pop-up?. I cannot find the proper key on your documentation.
  2. When the filename is too long, the question is hidden.

See the attached capture.


Attachment: Captura_1359c864.rar

1 Reply

BP Balamurugan P Syncfusion Team April 20, 2016 02:21 PM UTC

Hi Jaime,

We deeply regret for the inconvenience caused.

Query 1: After taken a look to: http://help.syncfusion.com/aspnetmvc/fileexplorer/localization-and-rtl-support. There some keys and texts missing on the documentation:

Unfortunately, our online link http://help.syncfusion.com/aspnetmvc/fileexplorer  does not contain the up-to date version details. Currently, we are making corrections in the documents with updated details and we will publish it as soon as possible.


Query 2: How can I change the header, error label, and buttons' text from in the pop-up?

You can change the localization content for above mentioned parameters with corresponding key values.  Refer following code example to customize the value by using its key terms.

@*Custom Localization settings*@

    <script type="text/javascript">

        var CustomDetails = {

            Error: "CustomError",

            ReplaceAlert: "C-File named '{0}' already exists. Replace old file with new one?",

            YesToAllButton: "C-Yes to all",

            NoToAllButton: "C-No to all",

            YesButton: "C-Yes",

            NoButton: "C-No",

            DialogCloseToolTip: "C-Close"

        }

        $.extend(ej.FileExplorer.Locale["en-US"], CustomDetails);

    </script>


Query 3: When the filename is too long, the question is hidden.

We have analyzed the reported issue with our sample; specified issue may be occurs in previous versions of Essential Studio, but its working properly in latest version of Essential Studio 2016 Volume 1 (v14.1.0.41). You can check this through our following online sample link. http://mvc.syncfusion.com/demos/web/fileexplorer/default

You can download the latest version of Essential studio from below link:

http://www.syncfusion.com/forums/123633/essential-studio-2016-volume-1-release-v14-1-0-41-is-available-for-download


Still if you have this problem, please provide some additional information to reproduce this issue.  This would be helpful for us to serve you.

Regards,

Balamurugan.


Loader.
Live Chat Icon For mobile
Up arrow icon