RTL Support

This feature supports the change of left-to-right alignment of the Uploadbox widget to right-to-left (RTL). That is, it sets the Uploadbox to right-to-left actions.

The following steps explain the configuration of enableRTL property in Uploadbox.

In the HTML page, add the <div> element to configure the Uploadbox element.

  • html
  • <div class="control">
        <div id="Uploadbox"></div>
    </div>
  • js
  • $(function () {
            //Declaration.
            $("#uploadbox").ejUploadbox({
                saveUrl: "saveFiles.ashx",
                removeUrl: "removeFiles.ashx",
                enableRTL: true
            });
        });

    For JS, configure saveFiles.ashx and removeFiles.ashx files as mentioned in the Save file action and Remove file action respectively.

    The following screenshot displays the output.