<%@ Page Language="C#" AutoEventWireup="true" EnableViewState="true" MasterPageFile="~/Main.Master"
    CodeBehind="GetSessionKey.aspx.cs" Inherits="OAWeb.Shop.GetSessionKey" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlace" runat="server">
<script>
    function Check() {
        if ($("#<%=txtSessionKey.ClientID %>").val() == "") {
            alert("请输入授权码");
            return false;
        }
        return true;
    }
</script>
<div style=" padding:10px;">
        <table class="data_title" style="margin-top: 10px;">
            <tr>
                <td class="data_caption">
                    网店授权 
                    <asp:Label ID="lblShopName" runat="server" Text=""></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="data-field">
                    授权码：<asp:TextBox ID="txtSessionKey" runat="server" Width="600"></asp:TextBox><br /><br />
                    <asp:Button ID="btnAdd" runat="server" Text="保存" CssClass="btn_77px" 
                        onclick="btnAdd_Click" OnClientClick="return Check()" /> 
                    <asp:Button ID="Button1" runat="server" Text="返回" CssClass="btn_77px" 
                        onclick="Button1_Click"  />
                    ( 请登录点击授权后，将页面上的文字复制到文本框中，单击保存即可 )
                   

                </td>
            </tr>
        </table>
        <div class="list">
           <iframe id="Main" frameborder="0" width="100%" height="500px" src='http://container.open.taobao.com/container?appkey=21465200'></iframe>
        </div>
 </div>   
</asp:Content>
