Widgets > [No Target Defined] > Quick Start: Add Folder Path |
In this step, you'll begin by setting up the view and creating the wijfileexplorer widget.
Note: This step assumes that you have created an MVC Classic project. See the Creating an MVC Classic Project topic for more information. |
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"]
});
});</script>
The wijfileexplorer will appear as shown in the image below: