日期:2014-05-16 浏览次数:20519 次
<%@ Page Language="C#" MasterPageFile="~/Views/Forms/Form.master" AutoEventWireup="true" CodeFile="LeaveForm.aspx.cs" Inherits="Views_Forms_LeaveForm" Title="假条申请" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server"> <link href="../../Js/ExtJs-3.2.0/resources/css/ext-all.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="../../Js/ExtJs-3.2.0/adapter/ext/ext-base.js"></script> <script type="text/javascript" src="../../Js/ExtJs-3.2.0/ext-all.js"></script> <script type="text/javascript"> Ext.onReady(function(){ var LeaveForm = new Ext.form.FormPanel({ width:350, frame:true, [color=#FF0000]renderTo:LeaveFormRequire,//呈现[/color] title:"填写请假单", bodyStyle:"padding:5px 5px 0", items:[ { fieldLabel:"UserName", xtype:"textfield", name:"user", id:"user", width:200 }, { fieldLabel:"PassWord", xtype:"textfield", name:"pass", id:"pass", width:200 } ], buttons:[{text:"确定"},{text:"取消"}] }); }); </script> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="CPH" runat="Server"> <div id="LeaveFormRequire"> </div> </asp:Content>