| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141 |
- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="KnowledgeClassEdit.aspx.cs"
- Inherits="Knowledge_KnowledgeClassEdit" %>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head id="Head1" runat="server">
- <title>资料库操作</title>
- <link href="../_common/styles/global.css" rel="stylesheet" type="text/css" />
- <link href="../_common/styles/dialogs.css" rel="stylesheet" type="text/css" />
- <link href="../_common/styles/select.css" rel="stylesheet" type="text/css" />
- <link href="../_common/styles/form.css" rel="stylesheet" type="text/css" />
- <link href="../_common/styles/controls.css" rel="stylesheet" type="text/css" />
- <link href="../_common/styles/nav.css" rel="stylesheet" type="text/css" />
- <link href="../_common/styles/menu.css" rel="stylesheet" type="text/css" />
- <link href="../_common/styles/tabs.css" rel="stylesheet" type="text/css" />
- <script src="../_common/scripts/Global.js" type="text/javascript"></script>
- <script src="../_common/scripts/windowinformation.js" type="text/javascript"></script>
- <script src="../_common/scripts/Util.js" type="text/javascript"></script>
- <script src="../_javascripts/globalctrl.js" type="text/javascript"></script>
- <link href="../_css/messagebox.css" rel="stylesheet" type="text/css" />
- <script src="../_common/scripts/datetime.js" type="text/javascript"></script>
- <script language="javascript">
- var divmark = "";
- divmark += "<div id=\"divLock\" style=\"z-index:1;background-color:#AAA;filter:alpha(opacity=50);position: absolute;width:expression(this.parentNode.scrollWidth);top:expression(this.parentNode.scrollTop); left:0; height:100%;right:0; bottom:0; display:none;\"></div>";
- divmark += "<div id=\"divMessageBox\" onmousedown=\"MM_dragLayer('divMessageBox','',0,0,0,0,true,false,-1,-1,-1,-1,false,false,0,'',false,'')\" style=\"display:none;position: absolute;top:expression(this.parentNode.scrollHeight/2-100);left:expression(this.parentNode.scrollWidth/2-100);z-index:2;\">";
- divmark += "<div class=\"wbox\"><div class=\"lbox\"><h1 class=\"tbox\"><span id=\"spanTitle\"></span><img src=\"../_images/dialogclose.gif\" style=\"cursor:hand;\" onclick=\"MessageBoxClose();\" /></h1>";
- divmark += "<div id=\"divContent\" class=\"nrbox\"></div></div></div></div>";
- document.write(divmark);
- </script>
- <%--<script language="javascript" type="text/javascript">
- function OpenMessage(strid, strtitle, strmessage, strwidth, btnstyle, _height) {
- var btnstr = "";
- switch (btnstyle) {
- case 0:
- btnstr = "<div style='padding-bottom:10px; text-align:center;'><button style='width: 65px;' onclick='MessageBoxClose();'>确 定</button></div>";
- break;
- case 1:
- btnstr = "<br /><div style='padding-bottom:15px; text-align:center;'><img alt='加载数据中' style='width:180px;' src='../_imgs/inprogress.gif'></div><br />";
- break;
- case 2:
- btnstr = "<div style='padding-bottom:10px; text-align:center;'><button style='width: 65px;' onclick='MessageBoxClose();CloseThis();'>确 定</button></div>";
- break;
- case 3:
- btnstr = "<div style='padding-bottom:10px; text-align:center;'><button style='width: 65px;' onclick='MessageBoxClose();LoadingData();'>确 定</button></div>";
- break;
- case 4:
- btnstr = "<div style='padding-bottom:10px; text-align:center;'><button style='width: 65px;' onclick='MessageBoxClose();DeleteOpt(0);'>确 定</button> <button style='width: 65px;' onclick='MessageBoxClose();'>取 消</button></div>";
- break;
- case 5:
- btnstr = "<div style='padding-bottom:10px; text-align:center;'><button style='width: 65px;' onclick='MessageBoxClose();parentmessageclose();'>确 定</button></div>";
- break;
- case 6:
- btnstr = "<div style='padding-bottom:10px; text-align:center;'><button style='width: 65px;' onclick='MessageBoxClose();parentmessageclose();'>确 定</button></div>";
- break;
- default:
- break;
- }
- if (_height != null) {
- strmessage = "<div style='padding:0px;'>" + strmessage + "</div>" + btnstr;
- document.getElementById("divMessageBox").style.height = _height;
- }
- else {
- strmessage = "<div style='padding:10px;'>" + strmessage + "</div>" + btnstr;
- document.getElementById("divMessageBox").style.height = 50;
- _height = 120;
- }
- document.getElementById("spanTitle").innerHTML = strtitle;
- document.getElementById("divContent").innerHTML = strmessage;
- document.getElementById("divMessageBox").style.width = strwidth;
- try {
- document.getElementById("divMessageBox").style.top = (document.body.clientHeight - _height) / 2;
- document.getElementById("divMessageBox").style.left = (document.body.clientWidth - strwidth) / 2;
- }
- catch (e)
- { }
- document.getElementById("divLock").style.display = "block";
- document.getElementById("divMessageBox").style.display = "block";
- }
- function OpenWindowPage(_title, _id, _width, _height, _url) {
- var html = "<iframe id='" + _id + "' src='" + _url + "' style='width:100%; height:" + _height + ";'></iframe>";
- OpenMessage(_id, _title, html, _width, -1, _height);
- }
- function MessageBoxClose() {
- document.getElementById("divLock").style.display = "none";
- document.getElementById("divMessageBox").style.display = "none";
- }
- function parentmessageclose() {
- parent.MessageBoxCloseEdit();
- }
- function parentmessageclose() {
- parent.MessageBoxClose();
- }
- </script>--%>
- </head>
- <body>
- <form id="form1" runat="server">
- <table border="0" cellpadding="0" cellspacing="3" class="stdTable">
- <colgroup>
- <col align="right" style="width: 100px;" />
- <col />
- </colgroup>
- <tr>
- <td>
- 名称:
- </td>
- <td>
- <asp:TextBox ID="name" runat="server" Width="120px" CssClass="txt"></asp:TextBox>
- <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="name"
- ErrorMessage="不能为空!"></asp:RequiredFieldValidator>
- </td>
- </tr>
- <tr>
- <td>
- 排序:
- </td>
- <td>
- <asp:TextBox ID="sort" runat="server" Width="120px" CssClass="txt"></asp:TextBox>
- </td>
- </tr>
- <tr>
- <td colspan="2" align="center">
- <asp:Button ID="btnSave" Width="100" runat="server" Text="确定" CssClass="btn" OnClick="btnSave_Click" />
- </td>
- </tr>
- </table>
- </form>
- </body>
- </html>
|