|
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<div id="dna_fileExplorer">
<div class="ui-explorer-toolbar" style="margin: 2px; overflow: auto;">
</div>
<table style="width: 100%">
<tr>
<td id="dna_fileExplorer_resizer" class="ui-widget-content" style="width: 350px;">
<div class="ui-treeview-pane" style="height: 430px;">
<ul class="ui-helper-reset ui-treeview">
</ul>
</div>
</td>
<td class="ui-widget-content">
<div class="ui-listview" style="height: 430px;">
</div>
</td>
</tr>
</table>
</div>
<%=Html.ScriptRefs("dna.controllers/fileExplorer.js","plugins/ajaxupload.js")%>
<%
Html.ClientRes("ConfirmDeleteFile", Html.Global("RES_CONFIRMFILEDELETE"));
Html.ClientRes("PleaseSelectFile", Html.Global("RES_PLEASESELECTFILE"));
Html.ClientRes("PleaseSelectFolder", Html.Global("RES_PLEASESELECTFOLDER"));
Html.ClientRes("ConfirmDeleteFolder", Html.Global("RES_CONFIRMFOLDERDELETE"));
Html.ClientRes("CreateFolderIn", Html.Global("RES_CREATEFOLDERIN"));
Html.ClientRes("PleaseInputFolderName", Html.Global("RES_PLEASEINPUTFOLDERNAME"));
Html.ClientRes("AddFolder", Html.Global("RES_ADDFOLDER"));
Html.ClientRes("DeleteFolder", Html.Global("RES_DELETEFOLDER"));
Html.ClientRes("UploadFile", Html.Global("RES_UPLOAD_FILE"));
Html.ClientRes("DeleteFile", Html.Global("RES_DELETEFILE"));
Html.ClientRes("Download", Html.Global("RES_DOWNLOAD"));
Html.ClientRes("Info", Html.Global("RES_INFO"));
Html.ClientRes("Question", Html.Global("RES_QUESTION"));
Html.ClientRes("Error", Html.Global("RES_ERR"));
Ajax.jQuery(".ui-treeview-pane", "resizable", new
{
handles = "e,w",
animate = true,
ghost = true,
alsoResize = "#dna_fileExplorer_resizer",
helper = "ui-state-highlight",
minWidth = 300
});
Ajax.jQuery("#dna_fileExplorer", "fileExplorer", new
{
treeview = ".ui-treeview",
listview = ".ui-listview",
toolbar = ".ui-explorer-toolbar",
rootPath = ViewData["RootPath"].ToString(),
imgPath = Url.Content("~/content/images/treeview/")
}); %>
<%=Html.StartupScripts() %>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
In 1999, I started programming using Delphi, VB, VJ.From 2002 I started with .NET using C#.Since 2005 when i had became an EIP product manager I was focus on EIP and CMS technique. In 2008 i established dotnetage.com and started to shared my ideas and projects online. I believe "No shared no grow"
www.dotnetage.com