- ServerExplorer.zip
- ServerExplorer
- bin
- Content
- images
- Config.png
- DiscRoot.png
- Dll.png
- Exe.png
- File.png
- FixedRoot.png
- Folder.png
- Music.png
- NetworkRoot.png
- Picture.png
- RemovableRoot.png
- SysRoot.png
- Video.png
- Xml.png
- Zip.png
- Site.css
- themes
- base
- images
- ui-bg_flat_0_aaaaaa_40x100.png
- ui-bg_flat_75_ffffff_40x100.png
- ui-bg_glass_55_fbf9ee_1x400.png
- ui-bg_glass_65_ffffff_1x400.png
- ui-bg_glass_75_dadada_1x400.png
- ui-bg_glass_75_e6e6e6_1x400.png
- ui-bg_glass_95_fef1ec_1x400.png
- ui-bg_highlight-soft_75_cccccc_1x100.png
- ui-icons_222222_256x240.png
- ui-icons_2e83ff_256x240.png
- ui-icons_454545_256x240.png
- ui-icons_888888_256x240.png
- ui-icons_cd0a0a_256x240.png
- jquery-ui.css
- Controllers
- Global.asax
- Global.asax.cs
- Models
- Properties
- Scripts
- ServerExplorer.csproj
- ServerExplorer.csproj.user
- ServerExplorer.Publish.xml
- Views
- Web.config
- Web.Debug.config
- Web.Release.config
|
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<dynamic>" %>
<%
bool upperEnabled = !string.IsNullOrEmpty(Model as string);
List<string> list = ViewData["CheckedList"] as List<string>;
string jList = "";
if (list != null && list.Count > 0)
{
System.Web.Script.Serialization.JavaScriptSerializer serializer = new System.Web.Script.Serialization.JavaScriptSerializer();
jList = serializer.Serialize(list);
}
{ %>
<p>
<a id="top" <% if (upperEnabled)
{ %> href='javascript:goTop();' <%
} %> style="padding-left: .4em;"><span>Top</span></a>
|
<a id="upper" <% if (upperEnabled)
{ %> href='javascript:goUpper("<%= Model %>");' <%
} %> style="padding-left: .4em;"><span>Upper</span></a>
|
<a id="download" <% if (jList != "")
{ %> href='javascript:download();' <%
} %> style="padding-left: .4em;"><span>Download</span></a>
</p>
<%} %>
<script type="text/javascript">
function goUpper(path) {
$.ajax({
type: "POST",
url: getApplicationPath() + "Explorer/GoUpper",
data: { path: path },
cache: false,
dataType: "html",
success: function (data) {
$('#listpane').html(data);
}
})
}
function goTop() {
$.ajax({
type: "POST",
url: getApplicationPath() + "Explorer/GoTop",
data: {},
cache: false,
dataType: "html",
success: function (data) {
$('#listpane').html(data);
}
})
}
function download() {
var list = '<%= jList %>';
var path = getApplicationPath() + "Explorer/Download/?jlist=" + list;
window.location.href = path;
}
</script>
|
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.
Fred is a senior software developer who lives in Melbourne, Australia. In 1993, he started Programming using Visual C++, Visual Basic, Java, and Oracle Developer Tools. From 2003, He started with .Net using C#, and then expertise .Net development.
Fred is often working with software projects in different business domains based on different Microsoft Technologies like SQL-Server, C#, VC++, ASP.NET, ASP.Net MVC, WCF,WPF, Silverlight, .Net Core and Angular, although he also did some development works on IBM AS400.