温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:文件在线管理系统0.30源码
当前文件:
FileManager/WebSite/Manage/Notepad.aspx,打开代码结构图
FileManager/WebSite/Manage/Notepad.aspx,打开代码结构图1<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Notepad.aspx.cs" Inherits="Manage_Notepad" EnableViewState="true" %> 2
3
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 4
5
<html xmlns="http://www.w3.org/1999/xhtml" > 6
<head> 7
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 8
<meta name="author" content="TakWai" /> 9
<title>Notepad</title> 10
<link rel="stylesheet" type="text/css" href="../Style/Manage/Style.css" /> 11
<link rel="stylesheet" type="text/css" href="../Style/Manage/Layout.css" /> 12
<style type="text/css"> 13
body 14
{ 15
width: 670px; 16
padding: 10px; 17
text-align: left; 18
} 19
</style> 20
</head> 21
<body> 22
<form id="notepadForm" runat="server"> 23
<div id="notepad-frame"> 24
<div class="box"> 25
<div id="notepad-title"> 26
文件路径: <asp:TextBox ID="txtFilePath" runat="server" ReadOnly="true" onfocus="this.className='colorfocus'" onblur="this.className='txt';" CssClass="txt" style="width: 300px;"></asp:TextBox> 27
文件编码: <asp:DropDownList ID="ddlEncode" runat="server"><asp:ListItem Value="ANSI">ANSI</asp:ListItem> 28
<asp:ListItem Value="UTF-8">UTF-8</asp:ListItem> 29
<asp:ListItem Value="Unicode">Unicode</asp:ListItem> 30
<asp:ListItem Value="Unicode big endian">Unicode-be</asp:ListItem> 31
</asp:DropDownList> 32
<asp:Button ID="btnSave" runat="server" Text="保存" CssClass="btn" /> <input type="button" name="close" value="关闭" class="btn" onclick="window.top.hidePopWin();" /> 33
</div> 34
35
<div id="notepad-content"> 36
<asp:TextBox ID="txtFileContent" TextMode="MultiLine" runat="server" onfocus="this.className='colorfocus'" onblur="this.className='txt';" class="txt" style="width: 600px; height: 260px; overflow-y: auto; overflow-x: hidden;" ></asp:TextBox> 37
</div> 38
39
<asp:Label ID="lblMsg" runat="Server"></asp:Label> 40
<asp:Label ID="lblNew" runat="server" style="display: none;"></asp:Label> 41
</div> 42
</div> 43
</form> 44
</body> 45
</html> 46



body

