<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="GuestWrite.aspx.cs" Inherits="PowerEasy.Module.General.WebSite.Common.GuestWrite"
    StylesheetTheme="" EnableTheming="false" ValidateRequest="false" EnableEventValidation="false" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title><asp:Localize ID="Localize2" Text="<%$ Res: Common_GuestWrite_Page , 签写留言 %>" runat="server" /></title>
</head>
<body>
    <form id="form1" runat="server">
          <asp:ScriptManager ID="SmContent" runat="server" ScriptMode="Release" EnablePartialRendering="true">
  </asp:ScriptManager> 
    <div id="content">
        <table border="0" cellpadding="2" cellspacing="1" class="border" width="100%">
            <tr align="center" >
                <td colspan="2"  class="spacingtitle">
                    <b>
                        <asp:Localize ID="Localize1" Text="<%$ Res: Common_GuestWrite_Localize1 , 签写留言 %>" runat="server" /></b>
                </td>
            </tr>
            <pe:ExtendedRepeater ID="ContentForm" runat="server" OnItemDataBound="ContentForm_OnItemDataBound">
                <ItemTemplate>
                    <pe:FieldControl ID="Field" runat="server" EnableNull='<%# (bool)Eval("EnableNull") %>'
                        FieldAlias='<%# Eval("FieldAlias")%>' Tips='<%# Eval("Tips") %>' FieldName='<%#Eval("FieldName")%>'
                        ControlType='<%# Eval("FieldType") %>' FieldLevel='<%# Eval("FieldLevel") %>' ModelId='<%# Eval("ModelId") %>'
                        IsAdminManage="false" Description='<%# Eval("Description")%>' Settings='<%# ((PowerEasy.Module.General.Model.CommonModel.FieldInfo)Container.DataItem).Settings %>'
                        Value='<%# Eval("DefaultValue") %>'>
                    </pe:FieldControl>
                </ItemTemplate>
            </pe:ExtendedRepeater>
            <tr>
                <td align="center" colspan="2" class="tdbg">
                    <asp:Button ID="EBtnSubmit" Text="<%$ Res: Common_GuestWrite_EBtnSubmit , 保存 %>" UseSubmitBehavior="false" CssClass="input_button" OnClick="EBtnSubmit_Click" runat="server" />&nbsp;&nbsp;
                    <asp:Button ID="BtnCancel" UseSubmitBehavior="false" runat="server" Text="<%$ Res: Common_GuestWrite_BtnCancel , 取消 %>" />
                </td>
            </tr>
        </table>
    </div>
    
    </form>
</body>
</html>
