<%@ page language="C#" autoeventwireup="true" inherits="admin_label_ExportLabel, DianCMS" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>
<%@ Import Namespace="D.Common" %>
<%@ Import Namespace="D.BLL" %>
<!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></title>
    <link id="CssName" rel="stylesheet" type="text/css" runat="server" />
    <script src="../../js/Common.js" type="text/javascript"></script>
    <script src="../../js/lhgdialog/lhgcore.lhgdialog.min.js?self=true&skin=<%=Function.GetCssNameColor()%>" type="text/javascript"></script>
    <script type="text/javascript">
        function SelOutURL() {
            var TypeCount = document.getElementsByName("RadioButtonList1");
            var s;
            if (navigator.appName == "Microsoft Internet Explorer") {
                s = TypeCount[1].checked;
            }
            else {
                s = TypeCount[0].checked;
            }
            if (s) {
                DianCMS_$("Tr2").style.display = "none";
            }
            else {
                DianCMS_$("Tr2").style.display = "";
            }
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <table class="dh" cellpadding="0" cellspacing="0" border="0" align="center">
        <tr>
            <td>
                <asp:Image ID="P_Go" runat="server" ImageAlign="AbsMiddle" />
                您现在的位置：<a href="../info.aspx">后台管理</a> >> <a href="labellist.aspx">标签列表</a> >> 导出标签
            </td>
        </tr>
    </table>
    <table class="border" cellspacing="1" cellpadding="0" width="99%" border="0" align="center">
        <tr>
            <td class="bqleft">
                导出方式：
            </td>
            <td class="bqright">
                <asp:RadioButtonList ID="RadioButtonList1" runat="server" RepeatColumns="2" RepeatDirection="Horizontal" onclick="SelOutURL()">
                    <asp:ListItem Value="1" Selected="True">导出所有标签</asp:ListItem>
                    <asp:ListItem Value="2">选择部分标签导出</asp:ListItem>
                </asp:RadioButtonList>
            </td>
        </tr>
        <tr style="display:none" id="Tr2">
            <td class="bqleft">
                选择标签：
            </td>
            <td class="bqright"><input id="Button1" type="button" value=" 选择标签 " class="btn" onclick="WinOpenLhgDialog('选择导出标签','../label/selectExportLabel.aspx?ControlId=txtImage',800,600,'')" /><br />
                <asp:TextBox ID="txtLabelId" runat="server" TextMode="MultiLine" Width="98%" Height="200"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="bqleft">
                
            </td>
            <td class="bqright" height="40">
                <asp:Button ID="Button2" runat="server" Text=" 确认，立即导出 " CssClass="btn radius30 pad_0_30" 
                    onclick="Button2_Click" />
            </td>
        </tr>
     </table>
    <asp:GridView ID="GridView1" runat="server">
    </asp:GridView>
    </form>
</body>
</html>
