Widgets > [No Target Defined] > Features > Multiple File Selection |
The wijfileexplorer widget allows you to select more than one file or folder by setting the allowmultipleselection option to true. Complete the following steps to enable multiple selection in the wijfileexplorer widget.
Complete the following steps:
<body></body>
tags of the page, just after @RenderBody():
<div id="fileexplorer" style="width:750px;height:350px"></div>
<script type="text/javascript">
$(document).ready(function () {
$("#fileexplorer").wijfileexplorer({
actionUri: "fileexplorer.ashx",
viewPaths: ["~/Content/FileExplorer/Example"],
allowMultipleSelection: true,
});
});
</script>
Press the CTRL button and select multiple files or folders.