Widgets > [No Target Defined] > Features > Manage Visual Elements |
You can select the visual elements to display or to hide in the wijfileexplorer. Set the visibleControls options to hide or display visual elements. See Visual Elements for further information on the elements of the wijfileexplorer.
Complete the following steps:
<body></body>
tags of the page, just after @RenderBody():
<div id="fileexplorer" style="width:750px;height:350px"></div>
<script id="scriptInit" type="text/javascript">
$(document).ready(function () {
$("#fileexplorer").wijfileexplorer({
actionUri: "fileexplorer.ashx",
viewPaths: ["~/Content/FileExplorer/Example"],
visibleControls: "toolbar, addressBox, filterTextBox, treeView, grid, listView, contextMenu"
});
});
</script>
When you run the project, notice that the elements you added to the visibleControls options are enabled and the adressBox is disables from the wijfileexplorer.