1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ViewWorkCellDetail.aspx.cs" Inherits="iWareWms.View.EXCEL.WorkSheet.ViewWorkCellDetail" %>
 
<!DOCTYPE html>
 
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
        <f:Panel ID="Panel1" ShowBorder="false" ShowHeader="false" AutoScroll="true" runat="server">
            <Toolbars>
                <f:Toolbar ID="Toolbar1" runat="server">
                    <Items>
                        <f:Button ID="btnSaveClose" ValidateForms="SimpleForm1" Icon="SystemSaveClose" OnClick="SaveCloseClick" 
                            runat="server" Text="保存后关闭">
                        </f:Button>
                    </Items>
                </f:Toolbar>
            </Toolbars>
            <Items>
                <f:Form ID="SimpleForm1" ShowBorder="false"  ShowHeader="false" runat="server" BodyPadding="10px"
                    Title="SimpleForm">
                    <Rows>
                        <f:FormRow runat="server">
                            <Items>
                                <f:TextBox ID="DisplayName" runat="server" Label="表头名" Required="true" ShowRedStar="true" FocusOnPageLoad="true" MinLength="1" MaxLength="15" TextMode="Text" >
                                </f:TextBox>                           
                            </Items>
                            
                        </f:FormRow>
                        <f:FormRow runat="server">
                            <Items>
                                <f:TextBox ID="PropName" runat ="server" Label="属性名" MinLength="2" MaxLength="30" ShowRedStar="true"  Required="true"></f:TextBox>
                            </Items>
                        </f:FormRow>  
                                  
                        <f:FormRow runat="server">
                            <Items>
                                <f:DropDownList ID="ddDataType" runat="server" Label="数据类型">
                                </f:DropDownList>
                            </Items>
                        </f:FormRow>
                        <f:FormRow runat="server">
                            <Items>
                                <f:DropDownList ID="ddIsEnum" runat="server" Label="是否枚举">
                                </f:DropDownList>
                            </Items>
                        </f:FormRow>
                        <f:FormRow runat="server">
                            <Items>
                                <f:TextBox ID="EnumClass" runat ="server" Label="枚举类" MinLength="2" MaxLength="200" ></f:TextBox>
                            </Items>
                        </f:FormRow>   
                        <f:FormRow runat="server">
                            <Items>
                                <f:TextBox ID="tbWorkBookName" runat ="server" Label="文件名" Hidden="true" MinLength="2" MaxLength="30" ShowRedStar="true"></f:TextBox>
                            </Items>
                        </f:FormRow>  
 
                        <f:FormRow runat="server">
                            <Items>
                                <f:TextBox ID="tbWorkSheetName" runat ="server" Label="页面名" Hidden="true" MinLength="2" MaxLength="30" ShowRedStar="true"></f:TextBox>
                            </Items>
                        </f:FormRow>
                        <f:FormRow runat="server">
                            <Items>
                                <f:NumberBox ID="CellIndex" runat ="server" Label="排序" MaxLength="10" Required="true" ShowRedStar="true" ></f:NumberBox>
                            </Items>
                        </f:FormRow>
                    </Rows>
                </f:Form>
            </Items>
        </f:Panel>
        <f:Window ID="Window1" runat="server" IsModal="true" Hidden="true"  EnableResize="true"
            EnableMaximize="true" EnableIFrame="true" IFrameUrl="about:blank" Width="840px"
            Height="457px" OnClose="WindowClose">
        </f:Window>
    </form>
</body>
</html>