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.
Unfortunately, activation email could not send to your email. Please try again.

Difficulties while using ejFileExplorer

Thread ID:

Created:

Updated:

Platform:

Replies:

120945 Oct 28,2015 10:11 PM Oct 29,2015 03:33 AM JavaScript 1
loading
Tags: ejFileExplorer
Myungjin Cho
Asked On October 28, 2015 10:11 PM

Hello, the company I work for have purchased the JavaScript version of your product, and now we are trying to use the ejFileExplorer.

The images relating to the question are enclosed with this post.


Currently, I am facing two different problems:

Firstly, it is the translation issue. Since the company I work for is located in Korea, I need to change the English text in the upload box into Korean. Would this be possible? the question is explained in the image name "1.png"

Secondly, if I upload the image, then would it possible to get the information of the image by clicking the uploaded icon? The question is explained in the image named "2.png"


Thank you very much, and my company is really making good use of your product.


Attachment: 20151029SyncQuestion_af5f80e3.zip

Balamurugan P [Syncfusion]
Replied On October 29, 2015 03:33 AM

Hi Maverickjin,

Thanks for using Syncfusion products. 

Query 1: problem in localization of upload box text

You can apply the localization for upload box by using “UploadSettings” property available in “ej.FileExplorer.Locale[“es-ES”]”. Please refer to the code block in our online demohttp://js.syncfusion.com/demos/web/#!/azure/fileexplorer/localization . 

Inbuilt localization support for the upload dialog in “FileExplorer” component is available from the version 13.3.0.7. If you are using older version before 13.3.0.7, you have to separately specify the localization for upload box dialog as mentioned below.

Code example [JavaScript]:

ej.Uploadbox.Locale[“es-ES”] = {

            buttonText: {

                upload: "Subir",

                browse: "Explorar",

                cancel: "cancelar"

            },

            dialogText: {

                title: "Subir Box",

                name: "nombre",

                size: "tamaño",

                status: "estado"

            }

        };



Query 2: if I upload the image, then would it possible to get the information of the image by clicking the uploaded icon? 

You can achieve your requirement using “select” event of the file explorer. This event will be triggered, when you select a file or folder in the file explorer.  In this “select” event, you will get the selected item details and these details will be helpful to you. Please refer to below code example.

Code example [JavaScript]:

$("#fileExplorer").ejFileExplorer({

            path: "http://mvc.syncfusion.com/ODataServices/FileBrowser/",

                            // From 13.3.0.7 version, we use below path for “ajaxAction” API

            ajaxAction:"http://mvc.syncfusion.com/OdataServices/fileExplorer/fileoperation/doJSONAction",

            select: "onSelect"

        });


function onSelect(args) {

            // Here you will get some necessary details about selected file like args.name, args.path, args. selectedItems (It contains selected file details (name, size, modified date, etc..)

            console.log(args);

        }



To know more about APIs of the file explorer, please refer to our online document link, http://help.syncfusion.com/js/api/ejfileexplorer 

Regards,
Balamurugan P


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.

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.

;