okay, so i have an asp.net (C#) application and i want to add a list of file and folders on the page, so i figured i should use JQuery fileTree (http://abeautifulsite.net/2008/03/jquery-file-tree/#download)
but now i am totally unable to display the file list.
I initialise the page this way:
Site.Master:
<link rel="stylesheet" type="text/css" href="../../Content/superfish.css" media="screen">
<link href="../../Content/jqueryFileTree.css" rel="stylesheet" type="text/css" />
<script src="../../Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
<script src="../../Scripts/jquery.easing.1.3.js" type="text/javascript"></script>
<script src="../../Scripts/jqueryFileTree.js" type="text/javascript"></script>
<script src="../../Scripts/JqueryUI/js/jquery-ui-1.8.1.custom.min.js" type="text/javascript"></script>
<script type="text/javascript" src="../../Scripts/jquery.dataTables.js"></script>
<script type="text/javascript" src="../../Scripts/superfish.js"></script>
<script type="text/javascript">
$(document).ready(function() {
test = $('#fileTree').fileTree({script: "jqueryFileTree.aspx" }, function(file) {
openFile(file);
});
$("button").button();
oTable = $('#data').dataTable({
"bJQueryUI": true,
"sPaginationType": "full_numbers",
"bSort": true
});
});
</script>
and in the page, i put my div this way:
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
Documents
but i'm positive that jqueryFileTree.aspx is never "called" because if i return this page in my controller, it shows the list of files/folder correctly, so it's also not a problem with my aspx connector...
Also i checked, on the JS console, it gives no error and there is nothing more in the page source code
i've been trying to solve this all day without success so your help is apreciated