<%@ Page Language="c#" Inherits="Web.User.ModifySignUpTable" CodeBehind="ModifySignUpTable.aspx.cs" %>

<!DOCTYPE html>
<!--[if lt IE 9]><html class="lte-ie8"><![endif]-->
<!--[if gt IE 8]><!-->
<html>
<!--<![endif]-->
<head>
    <title>自定义表单数据编辑</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!--#include file="../Css/userCssEdit.htm"-->
    
    <script language="javascript" type="text/javascript">
   
        //关闭弹出层 刷新列表
        function divClose(menuid,bigclassid){
            parent.$.fancybox.close();
            parent.location="ManageSignUpTable.aspx?bigClassId="+bigclassid+"&menuId="+menuid;
        }
        
        function ShowDialog(position,fileId )
        {
		    var arr = showModalDialog("../editor/Dialog/imgFile.htm?directory=uploadfiles&name=time&FileId="+fileId, window, "dialogWidth:400px;dialogHeight:150px;help:no;scroll:no;status:no");
		    if(arr!=null)
		    {
		    document.addNews.imageName.value=arr;
            change();
		    
		    }
		}
        function change()
        {
             if(document.addNews.imageName.value!="")
             {
                var arr=document.addNews.imageName.value;
                if(arr.indexOf("http://"))
		                arr="../images/uploadfiles/"+arr;
                pho.innerHTML="<img src="+arr+" height="+document.addNews.height.value +" width="+document.addNews.width.value+" />"; 
              }
        } 
    </script>

</head>
<body>
    <form id="addNews" method="post" runat="server">
    <div class="list-func-box func-box">
        <div class="hd b">
            <div class="breadcrumb">
                自定义表单数据编辑
            </div>
            <div class="user-service">
            </div>
            <!--/user-service-->
        </div>
        <div class="bd">
            <asp:GridView ID="gvSignUp" runat="server" AutoGenerateColumns="False" CellPadding="3" ShowHeader="False" CssClass="list-table">
                <Columns>
                    <asp:BoundField DataField="ShowName" ShowHeader="False" />
                    <asp:BoundField ShowHeader="False" />
                    <asp:BoundField DataField="ShowComments" />
                </Columns>
            </asp:GridView>
        </div>
        <div class="ft">
            <div class="action-field txt-c">
                <asp:Button ID="ok" runat="server" Text="更 新" CssClass="btn" OnClick="ok_Click" ValidationGroup="SignUp"></asp:Button>
                &nbsp;&nbsp;
                <input type="button" class="btn" value="关 闭" onclick="parent.$.fancybox.close();" />
                &nbsp;&nbsp;<asp:Label ID="labMsg" runat="server" Text="" ForeColor="Red"></asp:Label>
                <%--<asp:Button ID="cancel" runat="server" Text="取 消" CssClass="btn" CausesValidation="False" OnClick="cancel_Click"></asp:Button>--%>
            </div>
        </div>
    </div>
    </form>
</body>
</html>
