<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Window.aspx.cs" Inherits="MYAPP.KREditor.Window" %>

<!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">
<link href="/CSS/main.css" rel="stylesheet" type="text/css" />
<head id="Head1" runat="server">
<title></title>
<base target="_self" />
<script language="javascript" type="text/javascript">

    function close_onclick() {
        window.close();
    }


    function onclick() {

        var va = '<%=con %>';
            if (va != "") {

                window.returnValue = va;
                window.close();
            }
        }

    </script>
</head>
<body onload="onclick();" style="margin:0px; padding:0px; overflow-y:hidden; overflow-x:hidden" scroll="no">
<form id="form1" runat="server">
  <table width="100%"  border="1" cellpadding="0" cellspacing="1" 
             bordercolor="#EBEBEB">
    <asp:Repeater ID="rep" runat="server"  OnItemDataBound="rep_ItemDataBound">
      <ItemTemplate>
        <tr >
          <td align="center" class="left_title"><%# ((System.Xml.XmlNode)Container.DataItem).Attributes["text"].Value%>:</td>
          <td><asp:Panel ID="pla" runat="server" EnableViewState="true">
          </asp:Panel></td>
        </tr>
      </Itemtemplate>
    </asp:Repeater>
    <tr>
      <td colspan="2" align="center" ><asp:Label ID="lab" runat="server" ></asp:Label></td>
    </tr>
    <tr>
      <td colspan="2" align="center" ><asp:Button ID="btn" runat="server" Text="提交" Width="80px" onclick="btn_Click" dropzone="width80px" />
        <input type="button" class="width80px" id="close" style="width:80px" onclick="return close_onclick()" value="取消"/></td>
    </tr>
  </table>
</form>
</body>
</html>
