<%@ page language="C#" autoeventwireup="true" inherits="Admin_Product_Operate, ShopNum1Deploy" enableviewstate="true" %>

<%@ Register assembly="FredCK.FCKeditorV2" namespace="FredCK.FCKeditorV2" tagprefix="FCKeditorV2" %>

<%@ Register assembly="ShopNum1.Control" namespace="ShopNum1.Control" tagprefix="cc1" %>

<%@ Register src="UserControl/MessageShow.ascx" tagname="MessageShow" tagprefix="uc1" %>

<!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>Untitled Page</title>

    <style type="text/css">

.content {
 
}
.content .contentHeader {
  background-color:#BCC7E0;
  border:solid 1px #4B66A5;
  font-weight:bold;
}

.content .contentMain {
 border-left:solid 1px #4B66A5;
 border-top:solid 0px #4B66A5;
 border-right:solid 1px #4B66A5;
 border-bottom:solid 1px #4B66A5;
} 
        .style2
        {
            width: 237px;
        }
        </style> 
    <script type="text/javascript">
    function changeTab(count,index)
    {
        for (var i = 1; i <= count; i++)
        {
          document.getElementById('current' + i).className = '';
          document.getElementById('content' + i).style.display = 'none';
        }
        document.getElementById('current' + index).className = 'current';
        document.getElementById('content' + index).style.display = 'block';
    } 
    
     function openSingleChild1()
    { 
        var k = window.showModalDialog("Image_List_Select.aspx",window,"dialogWidth:820px;status:no;dialogHeight:650px"); 
        if(k != null) 
        {
          var strLen=k.length;
          var lastIndex=k.lastIndexOf('/');
           var editor = FCKeditorAPI.GetInstance('FCKeditorDetail'); 
           {
             editor.InsertHtml("<img src='/" + k + "'>");
           }
        }
     }
    //选择多图
    function openChild()
    { 
        var k = window.showModalDialog("Image_List_Select.aspx",window,"dialogWidth:820px;status:no;dialogHeight:650px"); 
        if(k != null) 
        {
          var strLen=k.length;
          var lastIndex=k.lastIndexOf('/');
          document.getElementById("TextBoxMultiImage").value = k.substring(lastIndex+1,strLen); 
         //document.getElementById("img1").v 
        }
    } 
    //选择单图
   function openSingleChild()
    { 
        var k = window.showModalDialog("Image_List_Select.aspx",window,"dialogWidth:820px;status:no;dialogHeight:650px"); 
        if(k != null) 
        {
          var strLen=k.length;
          var lastIndex=k.lastIndexOf('/');
          document.getElementById("TextBoxOriginalImge").value = k.substring(lastIndex+1,strLen); 
         document.getElementById("ImageOriginalImge").src = k; 
        }
    } 
  
    </script>
</head>
<body style="padding:0; background-image: url(images/Bg_right.gif); background-repeat:repeat;">
     <link type="text/css" rel="Stylesheet" href="css/index.css" />
    <form id="form1" runat="server">   
    <asp:ScriptManager ID="ScriptManager1" runat="server" /> 
        <div style="text-align: center;">
            <div id="header">
                <ul>
                    <li id="current1" class="current"><a style="cursor: pointer;" onclick="changeTab(9,1);">
                        <asp:Label runat="server" ID="tab01" Text="基本信息"  /></a></li>
                    <li id="current2"><a style="cursor: pointer;" onclick="changeTab(9,2);">
                        <asp:Label runat="server" ID="tab02" Text="详细介绍"  /></a></li>
                    <li id="current3"><a style="cursor: pointer;" onclick="changeTab(9,3);">
                        <asp:Label runat="server" ID="tab03" Text="搜索优化"  /></a></li>
                    <li id="current4"><a style="cursor: pointer;" onclick="changeTab(9,4);">
                        <asp:Label runat="server" ID="tab04" Text="商品属性"  /></a></li>
                    <li id="current5"><a style="cursor: pointer;" onclick="changeTab(9,5);">
                         <asp:Label runat="server" ID="tab05" Text="商品多图"  /></a></li>
                     <li id="current6"><a style="cursor: pointer;" onclick="changeTab(9,6);">
                         <asp:Label runat="server" ID="tab06" Text="商品配件"  /></a></li>
                     <li id="current7"><a style="cursor: pointer;" onclick="changeTab(9,7);">
                         <asp:Label runat="server" ID="tab07" Text="相关商品"  /></a></li>
                     <li id="current8"><a style="cursor: pointer;" onclick="changeTab(9,8);">
                         <asp:Label runat="server" ID="tab08" Text="相关文章"  /></a></li>
                     <li id="current9"><a style="cursor: pointer;" onclick="changeTab(9,9);">
                         <asp:Label runat="server" ID="tab09" Text="扩展分类"  /></a></li>
                </ul>
                <br style="clear: both;" />
            </div>
<!-- **************************基本信息************************** -->
            <div id="content1" runat="server">
            <!-- 基本信息-->
                <table cellpadding="0" cellspacing="0" border="0" width="100%">
            <tr>
                <td align="right" >
                    <asp:Label ID="LabelIsReal" runat="server" Text="商品性质："></asp:Label>
                    </td>
                <td align="left" >
                    <asp:DropDownList ID="DropDownListIsReal" runat="server" CssClass="select1">
                        <asp:ListItem Value="1">实体商品</asp:ListItem>
                        <asp:ListItem Value="0">虚拟商品</asp:ListItem>
                    </asp:DropDownList>
                    
                            <asp:Label ID="Label9" runat="server" Text="*" ForeColor="red"></asp:Label>
                    </td>
            </tr>
            <tr>
                <td align="right" width="20%">
                    <asp:Label ID="LabelName" runat="server" Text="商品名称："></asp:Label>
                    </td>
                <td align="left" >
                    <asp:TextBox ID="TextBoxName" runat="server" CssClass="input1"></asp:TextBox>
                    <font color="red">
                            <asp:Label ID="Label2" runat="server" Text="*"></asp:Label></font>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidatorName" 
                            runat="server" ControlToValidate="TextBoxName" Display="Dynamic" 
                            ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                    </td>
            </tr>
            <tr>
                <td align="right" >
                    <asp:Label ID="LabelRepertoryNumber" runat="server" Text="货号："></asp:Label>
                </td>
                <td align="left" >
                    <asp:TextBox ID="TextBoxRepertoryNumber" runat="server" CssClass="input1"></asp:TextBox>
                </td>
            </tr>
                    <tr>
                <td align="right" >
    
                    <asp:Label ID="LabelProductCategoryID" runat="server" Text="商品分类："></asp:Label>
                </td>
                <td align="left" >
                    <asp:DropDownList ID="DropDownListProductCategoryID" runat="server" CssClass="select1">
                    </asp:DropDownList>
                    <font color="red">
                            <asp:Label ID="Label11" runat="server" Text="*"></asp:Label></font>
                </td>
                    </tr>
                    <tr>
                <td align="right" >
    
                    <asp:Label ID="LabelBrandGuid" runat="server" Text="商品品牌："></asp:Label>
                </td>
                <td align="left" >
                    <asp:DropDownList ID="DropDownListBrandGuid" runat="server" CssClass="select1">
                    </asp:DropDownList>
                    <font color="red">
                            <asp:Label ID="Label12" runat="server" Text="*"></asp:Label></font>
                </td>
                    </tr>
            <tr>
                <td align="right" >
                    <asp:Label ID="LabelWeight" runat="server" Text="商品重量："></asp:Label>
                </td>
                <td align="left" >
                    <asp:TextBox ID="TextBoxWeight" runat="server" CssClass="input1">0</asp:TextBox>
                    <asp:Label ID="Label4" runat="server" Text="（克）"></asp:Label>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidatorShopPrice2" 
                        runat="server" ControlToValidate="TextBoxWeight" Display="Dynamic" 
                        ErrorMessage="输入格式不正确" ValidationExpression="^[0-9]+(.[0-9]{1,3})?$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td align="right" >
                    <asp:Label ID="LabelRepertoryCount" runat="server" Text="库存量："></asp:Label>
                </td>
                <td align="left" >
                    <asp:TextBox ID="TextBoxRepertoryCount" runat="server" CssClass="input1">1</asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidatorShopPrice4" 
                        runat="server" ControlToValidate="TextBoxRepertoryCount" Display="Dynamic" 
                        ErrorMessage="只能输入数字" ValidationExpression="^[0-9]*$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td align="right" >
                    <asp:Label ID="LabelUnitName" runat="server" Text="计量单位："></asp:Label>
                </td>
                <td align="left" >
                    <asp:TextBox ID="TextBoxUnitName" runat="server" CssClass="input1"></asp:TextBox>
                    <asp:DropDownList ID="DropDownListUnitName" runat="server" CssClass="select1" 
                        AutoPostBack="True" 
                        onselectedindexchanged="DropDownListUnitName_SelectedIndexChanged">
                        <asp:ListItem Value="-1">-请选择-</asp:ListItem>
                    </asp:DropDownList>
                    <font color="red">
                            <asp:Label ID="Label15" runat="server" Text="*"></asp:Label></font>
                </td>
            </tr>
            <tr>
                <td align="right" >
    
                    <asp:Label ID="LabelRepertoryAlertCount" runat="server" Text="库存警告数量："></asp:Label>
                </td>
                <td align="left" >
                    <asp:TextBox ID="TextBoxNameRepertoryAlertCount" runat="server" CssClass="input1">1</asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidatorShopPrice3" 
                        runat="server" ControlToValidate="TextBoxNameRepertoryAlertCount" 
                        Display="Dynamic" ErrorMessage="输入格式不正确" ValidationExpression="^[0-9]*$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td align="right" >
    
                    <asp:Label ID="LabelCostPrice" runat="server" Text="成本价："></asp:Label>
                </td>
                <td align="left" >
                    <asp:TextBox ID="TextBoxCostPrice" runat="server" CssClass="input1">0.00</asp:TextBox>
                            <font color="red"><asp:Label ID="Label17" runat="server" Text="*"></asp:Label></font>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidatorName1" 
                            runat="server" ControlToValidate="TextBoxCostPrice" Display="Dynamic" 
                            ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidatorShopPrice1" 
                        runat="server" ControlToValidate="TextBoxCostPrice" Display="Dynamic" 
                        ErrorMessage="输入格式不正确" ValidationExpression="^[0-9]+(.[0-9]{1,3})?$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td align="right" >
    
                    <asp:Label ID="LabelMarketPrice" runat="server" Text="市场价："></asp:Label>
                </td>
                <td align="left" >
                    <asp:TextBox ID="TextBoxMarketPrice" runat="server" CssClass="input1">0.00</asp:TextBox>
                           <font color="red"> <asp:Label ID="Label18" runat="server" Text="*"></asp:Label></font>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidatorName2" 
                            runat="server" ControlToValidate="TextBoxMarketPrice" Display="Dynamic" 
                            ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidatorShopPrice0" 
                        runat="server" ControlToValidate="TextBoxMarketPrice" Display="Dynamic" 
                        ErrorMessage="输入格式不正确" ValidationExpression="^[0-9]+(.[0-9]{1,3})?$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td align="right" >
    
                    <asp:Label ID="LabelShopPrice" runat="server" Text="本店售价："></asp:Label>
                </td>
                <td align="left" >
                    <asp:TextBox ID="TextBoxShopPrice" runat="server" CssClass="input1">0.00</asp:TextBox>
                            <font color="red"><asp:Label ID="Label19" runat="server" Text="*"></asp:Label></font>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidatorName0" 
                            runat="server" ControlToValidate="TextBoxShopPrice" Display="Dynamic" 
                            ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidatorShopPrice" 
                        runat="server" ControlToValidate="TextBoxShopPrice" Display="Dynamic" 
                        ErrorMessage="输入格式不正确" ValidationExpression="^[0-9]+(.[0-9]{1,3})?$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td align="right" style="margin:5px 0;width:19%">
 
 <asp:Label ID="LabelAttributeGroup9" runat="server" Text="会员价格："></asp:Label></td>
                <td align="left">
                 <cc1:Num1GridView ID="Num1GridViewPrice" runat="server" 
                AutoGenerateColumns="False" AllowSorting="True" AscendingImageUrl="~/images/SortAsc.gif" 
                DescendingImageUrl="~/images/SortDesc.gif" Width="440" AddSequenceColumn="False" 
                                AllowMultiColumnSorting="False" BorderColor="#CCDDEF" BorderStyle="Solid" 
                                BorderWidth="1px" CellPadding="0" Del="False" DeletePromptText="" 
                                Edit="False" FixHeader="False" GridViewSortDirection="Ascending" 
                                PagingStyle="None"  TableName="" 
                                Font-Size="Small" 
                        onrowdatabound="Num1GridViewPrice_RowDataBound" 
                        DataSourceID="ObjectDataSourcePrice" EnableViewState="False" 
                        style="margin-left: 2px;">          
<HeaderStyle HorizontalAlign="Center" BackColor="#6699CC" Font-Bold="True" ForeColor="#FFFFFF"></HeaderStyle>

<PagerStyle HorizontalAlign="Left" BackColor="#EEEEEE" ForeColor="#6699CC"></PagerStyle>
                <Columns>
                    <asp:BoundField DataField="Guid" HeaderText="Guid" >
                        <HeaderStyle CssClass="hidden" Height="30px" HorizontalAlign="Center" />
                        <ItemStyle CssClass="hidden" HorizontalAlign="Center" />
                    </asp:BoundField>
<asp:BoundField DataField="Name" HeaderText="会员等级" SortExpression="Name">
    <ItemStyle HorizontalAlign="Center" />
                    </asp:BoundField>
                    <asp:TemplateField HeaderText="会员价格">
                
                        <ItemStyle HorizontalAlign="Center" />
                
                    </asp:TemplateField>
                </Columns>
            </cc1:Num1GridView>
           
                    </td>
            </tr>
                            <tr>
                <td align="right" >
    
                    <asp:Label ID="LabelPresentScore" runat="server" Text="赠送等级积分："></asp:Label>
                </td>
                <td align="left" >
                    <asp:TextBox ID="TextBoxPresentRankScore" runat="server" CssClass="input1">-1</asp:TextBox>
                    <asp:Label ID="Label5" runat="server" Text="购买该商品时赠送等级积分数,-1表示按商品价格数量赠送"></asp:Label>
                                <asp:RegularExpressionValidator ID="RegularExpressionValidatorShopPrice7" 
                        runat="server" ControlToValidate="TextBoxPresentRankScore" Display="Dynamic" 
                        ErrorMessage="输入格式不正确" ValidationExpression="^-?\d+$"></asp:RegularExpressionValidator>
                </td>
                            </tr>
                            <tr>
                <td align="right" >
    
                    <asp:Label ID="LabelPresentRankScore" runat="server" Text="赠送消费积分："></asp:Label>
                </td>
                <td align="left" >
                    <asp:TextBox ID="TextBoxPresentScore" runat="server" CssClass="input1">-1</asp:TextBox>
                    <asp:Label ID="Label6" runat="server" Text="购买该商品时赠送消费积分数,-1表示按商品价格数量赠送"></asp:Label>
                                <asp:RegularExpressionValidator ID="RegularExpressionValidatorShopPrice8" 
                        runat="server" ControlToValidate="TextBoxPresentScore" Display="Dynamic" 
                        ErrorMessage="输入格式不正确" ValidationExpression="^-?\d+$"></asp:RegularExpressionValidator>
                </td>
                            </tr>
                            <tr>
                <td align="right" >
    
                    <asp:Label ID="LabelSocreIntegral" runat="server" Text="积分购买额度："></asp:Label>
                </td>
                <td align="left">
                    <asp:TextBox ID="TextBoxSocreIntegral" runat="server" CssClass="input1">0</asp:TextBox>
                    <asp:Label ID="Label7" runat="server" Text="购买该商品时最多可以使用多少钱的积分"></asp:Label>
                                <asp:RegularExpressionValidator ID="RegularExpressionValidatorShopPrice9" 
                        runat="server" ControlToValidate="TextBoxSocreIntegral" Display="Dynamic" 
                        ErrorMessage="只能输入数字" ValidationExpression="^[0-9]*$"></asp:RegularExpressionValidator>
                </td>
                            </tr>
                            <tr>
                <td align="right">
    
                    <asp:Label ID="LabelLimitBuyCount" runat="server" Text="限制购买数量："></asp:Label>
                </td>
                <td align="left">
                    <asp:TextBox ID="TextBoxLimitBuyCount" runat="server" CssClass="input1">0</asp:TextBox>
                    <asp:Label ID="Label8" runat="server" Text="每个人最多可以购买多少，0表示不限制数量"></asp:Label>
                                <asp:RegularExpressionValidator ID="RegularExpressionValidatorShopPrice6" 
                        runat="server" ControlToValidate="TextBoxLimitBuyCount" Display="Dynamic" 
                        ErrorMessage="只能输入数字" ValidationExpression="^[0-9]*$"></asp:RegularExpressionValidator>
                </td>
                            </tr>
                            <tr>
                <td align="right" >
    
                    <asp:Label ID="LabelOrderID" runat="server" Text="商品排序号："></asp:Label>
                </td>
                <td align="left" >
                    <asp:TextBox ID="TextBoxOrderID" runat="server" CssClass="input1"></asp:TextBox>
                <font color="red">
                            <asp:Label ID="Label20" runat="server" Text="*"></asp:Label></font>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidatorOrderID" 
                            runat="server" ControlToValidate="TextBoxOrderID" Display="Dynamic" 
                            ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                                <asp:RegularExpressionValidator ID="RegularExpressionValidatorShopPrice5" 
                        runat="server" ControlToValidate="TextBoxOrderID" Display="Dynamic" 
                        ErrorMessage="只能输入数字" ValidationExpression="^[0-9]*$"></asp:RegularExpressionValidator>
                                </td>
                            </tr>
                            <tr>
                <td align="right" >
    
                    <asp:Label ID="LabelSupplierGuid" runat="server" Text="供货商："></asp:Label>
                </td>
                <td align="left" >
                    <asp:DropDownList ID="DropDownListSupplierGuid" runat="server" CssClass="select1">
                    </asp:DropDownList>
                </td>
                            </tr>
            <tr>
                <td align="right" >
    
                    <asp:Label ID="LabelBrief" runat="server" Text="商品简单介绍："></asp:Label>
                </td>
                <td align="left" >
                    <asp:TextBox ID="TextBoxBrief" runat="server" Height="60px" 
                        TextMode="MultiLine" Width="440px" CssClass="input1"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidatorBrief" 
                        runat="server" ControlToValidate="TextBoxBrief" Display="Dynamic" 
                        ErrorMessage="简单介绍最多250个字符" ValidationExpression="^[\s\S]{0,250}$"></asp:RegularExpressionValidator>
                </td>
            </tr>
                            <tr>
                <td align="right">
    
                    <asp:Label ID="LabelThumbImage" runat="server" Text="商品图片："></asp:Label>
                </td>
                <td align="left">
                    <asp:TextBox ID="TextBoxOriginalImge" runat="server" CssClass="input2"></asp:TextBox>
                    <input id="ButtonSelectSingleImage" 
                    type="button" value="选择图片" onclick= "openSingleChild()"  />
                    <br />
                    <img id="ImageOriginalImge" alt="" src="~/images/noImage.gif" runat="server" /><asp:RegularExpressionValidator ID="RegularExpressionValidatorOriginalImge" 
                        runat="server" ControlToValidate="TextBoxOriginalImge" Display="Dynamic" 
                        ErrorMessage="图片链接地址最多250个字符" ValidationExpression="^[\s\S]{0,250}$"></asp:RegularExpressionValidator>
                            </td>
                            </tr>
                            <tr>
                <td align="right">
    
                    <asp:Label ID="LabelIsOnlySaled" runat="server" Text="销售方式："></asp:Label>
                </td>
                <td align="left">
                    <asp:DropDownList ID="DropDownListIsOnlySaled" runat="server" CssClass="select2">
                        <asp:ListItem Value="1">可作为商品销售和配件销售</asp:ListItem>
                        <asp:ListItem Value="0">只能作为配件销售</asp:ListItem>
                    </asp:DropDownList>
                                </td>
                            </tr>
                            <tr>
                <td align="right"  >
    
                    <asp:Label ID="LabelShow" runat="server" Text="前台显示选项："></asp:Label>
                </td>
                <td align="left" >
                    <asp:CheckBox ID="CheckBoxIsNew" runat="server" Text="新品" Checked="True" CssClass="sinput1" />
&nbsp;<asp:CheckBox ID="CheckBoxIsBest" runat="server" Text="精品" />
&nbsp;<asp:CheckBox ID="CheckBoxIsHot" runat="server" Text="热销" />
&nbsp;<asp:CheckBox ID="CheckBoxIsRecommend" runat="server" Text="推荐" />
                                </td>
                            </tr>
            <tr>
                <td align="right" >
    
                    <asp:Label ID="LabelIsSaled" runat="server" Text="保存以后："></asp:Label>
                </td>
                <td align="left" >
                    <asp:DropDownList ID="DropDownListIsSaled" runat="server" CssClass="select2">
                        <asp:ListItem Value="1">上架销售</asp:ListItem>
                        <asp:ListItem Value="0">放入仓库</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td align="right" >
    
                    <asp:Label ID="LabelMemo" runat="server" Text="商家备注："></asp:Label>
                </td>
                <td align="left" >
                    <asp:TextBox ID="TextBoxMemo" runat="server" Height="60px" 
                        TextMode="MultiLine" Width="440px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right" >
    
                    </td>
                <td align="left">
                    &nbsp;</td>
            </tr>
        </table>
            </div>
 <!-- **************************详细介绍************************** -->
           <div id="content2" runat="server" style="display: none;">
       <%--     <div id="content2" runat="server">--%>
             <!-- 详细介绍-->                
             <table cellpadding="0" cellspacing="0" border="0" style="width:100%">
             <tr>
             <td></td>
                <td align="left" height="40">  <input id="ButtonSelectSingleImage1" 
                    type="button" value="插入图片" onclick= "openSingleChild1()" class="input2" />
                    
                    </td>
             </tr>
            <tr>
                <td align="right" >
                    <asp:Label ID="LabelDetail" runat="server" Text="详细介绍："></asp:Label>
                    </td>
                <td align="left" >
                    <FCKeditorV2:FCKeditor ID="FCKeditorDetail" runat="server" Height="400px" Width="80%">
                    </FCKeditorV2:FCKeditor>
                    </td>
            </tr>
            
            <tr>
                <td align="right" >
    
                    </td>
                <td align="left">
                    </td>
            </tr>
        </table>
            </div>
<!-- **************************搜索优化************************** -->
           <div id="content3" runat="server" style="display: none;">
           <%-- <div id="content3" runat="server">--%>
            <!-- 搜索优化-->
             <table cellpadding="0" cellspacing="0" border="0" style="width:100%">
            <tr>
                <td align="right" width="30%">
                    <asp:Label ID="LabelTitle" runat="server" Text="详细页标题："></asp:Label>
                    </td>
                <td align="left" >
                    <asp:TextBox ID="TextBoxTitle" runat="server" Height="60px" 
                        TextMode="MultiLine" Width="440px"></asp:TextBox>
                    </td>
            </tr>          
            <tr>
                <td align="right" >
                    <asp:Label ID="LabelDescription" runat="server" Text="详细页描述："></asp:Label>
                    </td>
                <td align="left" >
                    <asp:TextBox ID="TextBoxDescription" runat="server" Height="60px" 
                        TextMode="MultiLine" Width="440px"></asp:TextBox>
                    </td>
            </tr>       
            <tr>
                <td align="right" >
                    <asp:Label ID="LabelKeywords" runat="server" Text="详细页搜索关键字："></asp:Label>
                    </td>
                <td align="left" >
                    <asp:TextBox ID="TextBoxKeywords" runat="server" Height="60px" 
                        TextMode="MultiLine" Width="440px"></asp:TextBox>
                    </td>
            </tr>  
            <tr>
                <td align="right" >
    
                    </td>
                <td align="left">
                    </td>
            </tr>
        </table>
            </div>
<!-- **************************商品属性************************** --> 
  <div id="content4" runat="server" style="display: none;">
     <%-- <div id="content4" runat="server">--%>
             <!-- 商品属性 -->
 <asp:UpdatePanel ID="UpdatePanel6" runat="server">
            <ContentTemplate>
          <table cellpadding="0" cellspacing="0" border="0" style="width:100%" align="center">
          <tr>
              <td align="right" >
                    <asp:Label ID="LabelProductTypeGuid" runat="server" Text="商品类型："></asp:Label>
                    </td>
                <td align="left" >
                    <asp:DropDownList ID="DropDownListProductTypeGuid" runat="server" 
                        AutoPostBack="True" 
                        onselectedindexchanged="DropDownListProductTypeGuid_SelectedIndexChanged" CssClass="select2">
                    </asp:DropDownList>
                    </td>
            </tr> 
            <tr><td></td></tr>
            </table>
            <br />
            <table cellpadding="0" cellspacing="0" border="0" style="width:100%" align="center"> 
          <tr>
                <td align="center" >
                    <cc1:Num1GridView ID="Num1GridViewProductyAttributeShow" runat="server" 
                        AddSequenceColumn="False" AllowMultiColumnSorting="False" AllowSorting="True" 
                        AscendingImageUrl="~/images/SortAsc.gif" AutoGenerateColumns="False" 
                        BorderColor="#CCDDEF" BorderStyle="Solid" BorderWidth="1px" CellPadding="4" 
                        DataSourceID="ObjectDataSource1" Del="False" DeletePromptText="" 
                        DescendingImageUrl="~/images/SortDesc.gif" Edit="False" FixHeader="False" 
                        Font-Size="Small" GridViewSortDirection="Ascending" 
                        onrowdatabound="Num1GridViewProductyAttributeShow_RowDataBound" 
                        PagingStyle="None" style="margin-left: 2px;" TableName="" Width="100%" 
                        EnableViewState="False" >
                        <HeaderStyle BackColor="#6699CC" Font-Bold="True" ForeColor="#FFFFFF" 
                            HorizontalAlign="Center" />
                        <PagerStyle BackColor="#EEEEEE" ForeColor="#6699CC" HorizontalAlign="Left" />
                        <Columns>
                            <asp:BoundField DataField="Guid" HeaderText="Guid" >
                                <HeaderStyle CssClass="hidden" />
                                <ItemStyle CssClass="hidden" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Name" HeaderText="属性名称" SortExpression="Name" />
                            <asp:TemplateField HeaderText="属性值">
                            </asp:TemplateField><asp:BoundField DataField="InputType" HeaderText="属性录入方式">
                                <HeaderStyle CssClass="hidden" />
                                <ItemStyle CssClass="hidden" />
                            </asp:BoundField>
                            <asp:BoundField DataField="IsMultiSelect" HeaderText="是否可多选">
                                <HeaderStyle CssClass="hidden" />
                                <ItemStyle CssClass="hidden" />
                            </asp:BoundField>
                            <asp:BoundField DataField="AttrValue" HeaderText="可选值列表" 
                                SortExpression="AttrValue">
                                <HeaderStyle CssClass="hidden" />
                                <ItemStyle CssClass="hidden" />
                            </asp:BoundField>
                            <asp:BoundField DataField="AttributeGroup" HeaderText="属性分组">
                                <HeaderStyle CssClass="hidden" />
                                <ItemStyle CssClass="hidden" />
                            </asp:BoundField>
                            <asp:BoundField DataField="OrderId" HeaderText="排序" SortExpression="OrderId">
                                <HeaderStyle CssClass="hidden" />
                                <ItemStyle CssClass="hidden" />
                            </asp:BoundField>
                        </Columns>
                    </cc1:Num1GridView>
                    <br />
                    
                    <cc1:Num1GridView ID="Num1GridViewProductyAttributePrice" runat="server" 
                        AddSequenceColumn="False" AllowMultiColumnSorting="False" 
                        AscendingImageUrl="~/images/SortAsc.gif" AutoGenerateColumns="False" 
                        BorderColor="#CCDDEF" BorderStyle="Solid" BorderWidth="1px" CellPadding="4" 
                        Del="False" DeletePromptText="" DescendingImageUrl="~/images/SortDesc.gif" 
                        Edit="False" FixHeader="False" Font-Size="Small" 
                        GridViewSortDirection="Ascending" PagingStyle="None" style="margin-left: 2px;" 
                        TableName="" Width="100%" AllowSorting="True">
                        <HeaderStyle BackColor="#6699CC" Font-Bold="True" ForeColor="#FFFFFF" 
                            HorizontalAlign="Center" />
                        <PagerStyle BackColor="#EEEEEE" ForeColor="#6699CC" HorizontalAlign="Left" />
                        <Columns>
                            <asp:BoundField DataField="Guid" HeaderText="Guid" >
                                <HeaderStyle CssClass="hidden" />
                                <ItemStyle CssClass="hidden" />
                            </asp:BoundField>
<asp:BoundField DataField="Name" HeaderText="属性名称" SortExpression="Name" />
<asp:BoundField DataField="AtrributeValue" HeaderText="属性值" />
<asp:BoundField DataField="AttributePrice" HeaderText="属性价格" />
                        </Columns>
                    </cc1:Num1GridView>
                    
                    <br />
                </td>
            </tr> 
                <tr>
                    <td align="center">
                        <table>
                            <tr>
                                <td align="right">
                                    <asp:Label ID="LabelAttributeName" runat="server" Text="属性名称："></asp:Label>
                                </td>
                                <td align="left">
                                    <asp:DropDownList ID="DropDownListAttributeName" runat="server" 
                                        AutoPostBack="True" 
                                        onselectedindexchanged="DropDownListAttributeName_SelectedIndexChanged" CssClass="select2">
                                    </asp:DropDownList>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <asp:Label ID="LabelAtrributeValue" runat="server" Text="属性值："></asp:Label>
                                </td>
                                <td>
                                    <table cellpadding="0" cellspacing="0" border="0">
                                        <tr style="display:<%=(AtrributeValue0)?"":"none"%>">
                                            <td align="left">
                                                <asp:TextBox ID="TextBoxAtrributeValue0" runat="server" CssClass="input2"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr style="display:<%=(AtrributeValue2)?"":"none"%>">
                                            <td align="left">
                                                <asp:TextBox ID="TextBoxAtrributeValue2" runat="server" TextMode="MultiLine" CssClass="input2"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr style="display:<%=(AtrributeValue1)?"":"none"%>">
                                            <td align="left">
                                                <asp:DropDownList ID="DropDownListAtrributeValue" runat="server" CssClass="select2">
                                                </asp:DropDownList>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <asp:Label ID="LabelAttributePrice" runat="server" Text="属性价格："></asp:Label>
                                </td>
                                <td align="left">
                                    <asp:TextBox ID="TextBoxAttributePrice" runat="server" CssClass="input2"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    &nbsp;</td>
                                <td align="left">
                                <div class="vote">
                                    <asp:Button ID="ButtonAddAttributePrice" runat="server" Text="添加" 
                                        onclick="ButtonAddAttributePrice_Click"  CssClass="bt2" CausesValidation="false"/></div>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    &nbsp;</td>
                                <td>
                                    &nbsp;</td>
                            </tr>
                        </table>  
                    </td>
                </tr>
              </table>
        </ContentTemplate>
              </asp:UpdatePanel>
            </div>   
<!-- **************************商品多图************************** -->  
           <div id="content5" runat="server" style="display: none;">
        <%--    <div id="content5" runat="server">--%>
        <asp:UpdatePanel ID="UpdatePanel5" runat="server">
        <ContentTemplate>
              <!-- 商品多图 -->
              <asp:DataList ID="DataListPorductImage" runat="server" RepeatDirection="Horizontal" 
                RepeatColumns="5" Width="100%">
                <ItemTemplate>
                    <table>
                        <tr>
                            <td>
                                <div>
                                <!--暂时加上/ShopNum1,到时候用此网站的虚拟目录的名称-->
                             
                                    <asp:Image ID="loadImg" runat="server" Height="70px" 
                    ImageUrl='<%#  ShopNum1.Common.Globals.ImagePath+ Eval("OriginalImge") %>' 
                    Width="90px" />
                    <%--<img src='container.dataitem("ImagePath")' width="90" height="70" border="0">--%>
                                </div>
                            </td>
                        </tr>
                         <tr>
                            <td align="center" style="width: 90px">
                             <input id="checkboxItem"  runat="server"  value='<%# Eval("Guid") %>'  type="checkbox" />
                            </td>
                        </tr>
                    </table>
                </ItemTemplate>
            </asp:DataList>
            <table cellpadding="2" cellspacing="2" width="100%"><tr><td align="right" width="50%">
                <asp:TextBox ID="TextBoxMultiImage" runat="server" CssClass="input2"></asp:TextBox></td><td align="left">
                <input id="ButtonSelectImage" 
                    type="button" value="选择图片" onclick= "openChild()" class="bt3"/>
                   <asp:Button ID="ButtonAddMultiImage" 
                    runat="server" Text="添加" onclick="ButtonAddMultiImage_Click"  CssClass="bt2" CausesValidation="false"/>
                    <asp:Button ID="ButtonDeleteImage" runat="server" Text="删除" onclick="ButtonDeleteImage_Click" 
                 CausesValidation="false"  CssClass="bt2"/>
                 </td></tr></table>
            </div>
   </ContentTemplate>
   </asp:UpdatePanel>

<!-- **************************商品配件**************************-->            
           <div id="content6" runat="server" style="display: none;">   
               <%--<img src='container.dataitem("ImagePath")' width="90" height="70" border="0">--%>
         <asp:UpdatePanel ID="UpdatePanel3" runat="server">
        <ContentTemplate>
            <!-- 商品配件 -->
            <table align="center">
            <tr>
                <td align="right" width="80">
                    <asp:Label ID="LabelSProductAccessoryName" runat="server" Text="商品名称："></asp:Label>
                </td>
                <td align="left">
                    <asp:TextBox ID="TextBoxSProductAccessoryName" runat="server"></asp:TextBox>
                </td>
                <td align="right" width="80">
                    <asp:Label ID="LabelSProductAccessoryCategoryID" runat="server" Text="商品分类："></asp:Label>
                </td>
                <td align="left">
                    <asp:DropDownList ID="DropDownListSProductAccessoryProductCategoryID" 
                        runat="server">
                    </asp:DropDownList>
                </td>
                <td align="right" width="80">
                    <asp:Label ID="LabelSProductAccessoryBrandGuid" runat="server" Text="商品品牌："></asp:Label>
                </td>
                <td align="left">
                    <asp:DropDownList ID="DropDownListSProductAccessoryBrandGuid" runat="server">
                    </asp:DropDownList>
                </td>
                <td>
                    <asp:Button ID="ButtonSearchProductAccessory" runat="server" 
                        CausesValidation="False" Text="查询" 
                        onclick="ButtonSearchProductAccessory_Click" CssClass="bt2" />
                </td>
            </tr>
        </table>
            <table align="center" style="width:60%">
            <tr>
                <td align="center" style="width:25%">
                    <asp:Label ID="LabelShowLeftProductAccessory" runat="server" Text="可选商品"></asp:Label>
                </td>
                <td align="center" style="width:10%">
                </td>
                <td align="center" style="width:25%">
                    <asp:Label ID="LabelShowRightProductAccessory" runat="server" Text="该商品的配件"></asp:Label>
                </td>
            </tr>
            <tr>
                <td align="right" style="width:25%">
                    <asp:ListBox ID="ListBoxLeftProductAccessory" runat="server" Height="440px" 
                        Width="300px" AutoPostBack="True" 
                        onselectedindexchanged="ListBoxLeftProductAccessory_SelectedIndexChanged"></asp:ListBox>
                </td>
                <td align="center" style="width:10%">
                     
                     
                    <table cellpadding="5" cellspacing="0" width="100%" style="text-align:center">
                    <tr><td>
                    <asp:Label ID="LabelShowPriceProductAccessory" runat="server" Text="价格"></asp:Label>
                   </td> </tr>
                    <tr><td><asp:TextBox ID="TextBoxPriceProductAccessory" runat="server" Width="50px"></asp:TextBox>
  </td> </tr>
                  
                    <tr><td><asp:Button ID="ButtonAddProductAccessory" runat="server" 
                        CausesValidation="False" Text="&gt;" 
                         CssClass="bt2" onclick="ButtonAddProductAccessory_Click" />
  </td> </tr>
                    
                    <tr><td><asp:Button ID="ButtonDeleteProductAccessory" runat="server" 
                        CausesValidation="False" Text="&lt;" 
                       CssClass="bt2" onclick="ButtonDeleteProductAccessory_Click" />
                  
  </td> </tr>
                   <tr><td> <asp:Button ID="ButtonDeleteAllProductAccessory" runat="server" 
                        CausesValidation="False" Text="&lt;&lt;" 
                        CssClass="bt2" onclick="ButtonDeleteAllProductAccessory_Click" 
                         />  </td> </tr>
               </table> </td>
                <td align="right" colspan="1" style="width:25%">
                    <asp:ListBox ID="ListBoxRightProductAccessory" runat="server" Height="440px" 
                        SelectionMode="Multiple" Width="300px"></asp:ListBox>
                </td>
            </tr>
        </table>
          </ContentTemplate>
            </asp:UpdatePanel>
            </div>                    
<!-- **************************相关商品************************** -->         
       <div id="content7" runat="server" style="display: none;">
      <%--  <div id="content7" runat="server">--%>
             <%--<img src='container.dataitem("ImagePath")' width="90" height="70" border="0">--%>
        <asp:UpdatePanel ID="UpdatePanel2" runat="server">
        <ContentTemplate>
            <!-- 相关商品 -->
             <table   align="center" >
            <tr>
                <td align="right" width="80">
                    <asp:Label ID="LabelSRelatedProductName" runat="server" Text="商品名称："></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="TextBoxSRelatedProductName" runat="server"></asp:TextBox>
                </td>
                <td align="right" width="80">
                    <asp:Label ID="LabelSRelatedProductCategoryID" runat="server" Text="商品分类："></asp:Label>
                </td>
                <td>
                    <asp:DropDownList ID="DropDownListSRelatedProductProductCategoryID" 
                        runat="server">
                    </asp:DropDownList>
                </td>
                <td align="right" width="80">
                    <asp:Label ID="LabelSRelatedProductBrandGuid" runat="server" Text="商品品牌："></asp:Label>
                </td>
                <td>
                    <asp:DropDownList ID="DropDownListSRelatedProductBrandGuid" runat="server">
                    </asp:DropDownList>
                </td>
                <td>
                    
                    <asp:Button ID="ButtonSearchRelatedProduct" runat="server" CausesValidation="False" 
                        Text="查询" onclick="ButtonSearchRelatedProduct_Click" CssClass="bt2"/>
                    
                </td>
            </tr>
            </table>
             <table align="center" style="width:60%">
            <tr>
                <td align="center" style="width:25%" align="right">
                    <asp:Label ID="LabelShowLeftRelatedProduct" runat="server" Text="可选商品"></asp:Label>
                </td>
                <td align="center" style="width:10%">
                </td>
                <td  style="width:25%" align="center">
                    <asp:Label ID="LabelShowRightRelatedProduct" runat="server" Text="跟该商品关联的商品"></asp:Label>
                </td>
            </tr>
            <tr>
                <td align="right" style="width:25%">
                    <asp:ListBox ID="ListBoxLeftRelatedProduct" runat="server" Height="440px" 
                        SelectionMode="Multiple" Width="300px"></asp:ListBox>
                </td>
                <td align="center" style="width:10%">
              <table cellpadding="5" cellspacing="0" width="100%" border="0" style="text-align:center">
              <tr><td>
                    <asp:DropDownList ID="DropDownListRelatedProductIsBoth" runat="server" Width="60">
                        <asp:ListItem Value="0">单向关联</asp:ListItem>
                        <asp:ListItem>双向关联</asp:ListItem>
                    </asp:DropDownList></td>
                   </tr><tr><td>
                    <asp:Button ID="ButtonAddAllRelatedProduct" runat="server" CausesValidation="False" 
                         Text="&gt;&gt;" CssClass="bt2" onclick="ButtonAddAllRelatedProduct_Click" />
</td>
                   </tr><tr><td>
                    <asp:Button ID="ButtonAddRelatedProduct" runat="server" CausesValidation="False" 
                         Text="&gt;" CssClass="bt2" onclick="ButtonAddRelatedProduct_Click" />
</td>
                   </tr><tr><td>
                    <asp:Button ID="ButtonDeleteRelatedProduct" runat="server" CausesValidation="False" 
                         Text="&lt;" CssClass="bt2" onclick="ButtonDeleteRelatedProduct_Click" />
</td>
                   </tr><tr><td>
                    <asp:Button ID="ButtonDeleteAllRelatedProduct" runat="server" CausesValidation="False" 
                         Text="&lt;&lt;" CssClass="bt2" 
                        onclick="ButtonDeleteAllRelatedProduct_Click" />
                        </td>
                   </tr>
                        </table>
                </td>
                <td align="right" colspan="1" style="width:25%">
                    <asp:ListBox ID="ListBoxRightRelatedProduct" runat="server" Height="440px" 
                        SelectionMode="Multiple" Width="300px"></asp:ListBox>
                </td>
            </tr>
        </table>
         </ContentTemplate>
            </asp:UpdatePanel>
            </div>        
  <!-- **************************商品文章************************** -->          
        <div id="content8" runat="server" style="display: none;" >
            <%--                        </ContentTemplate>
                </asp:UpdatePanel>--%>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
             <!-- 商品文章 --> 
             <table align="center">
            <tr>
                <td align="right" width="80">
                    <asp:Label ID="LabelSArticleCategory" runat="server" Text="文章分类："></asp:Label>
                </td>
                <td>
                    <asp:DropDownList ID="DropDownListSArticleCategory" runat="server" CssClass="select1">
                    </asp:DropDownList>
                </td>
                <td align="right" width="80">
                    <asp:Label ID="LabelSProductArticleName" runat="server" Text="文章标题："></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="TextBoxSProductArticleName" runat="server" CssClass="input1"></asp:TextBox>
                </td>
                <td>
                    <asp:Button ID="ButtonSearchProductArticle" runat="server" 
                        CausesValidation="False" Text="查询" 
                        onclick="ButtonSearchProductArticle_Click" CssClass="bt2" />
                </td>
            </tr>
        </table>
             <table align="center" style="width:60%">
            <tr>
                <td align="center" style="width:25%">
                    <asp:Label ID="LabelShowLeftProductArticle" runat="server" Text="可选文章"></asp:Label>
                </td>
                <td align="center" style="width:10%">
                </td>
                <td align="center" style="width:25%">
                    <asp:Label ID="LabelShowRightProductArticle" runat="server" Text="跟该商品关联的文章"></asp:Label>
                </td>
            </tr>
            <tr>
                <td align="right" style="width:25%">
                    <asp:ListBox ID="ListBoxLeftProductArticle" runat="server" Height="440px" 
                        SelectionMode="Multiple" Width="300px"></asp:ListBox>
                </td>
                <td align="center" style="width:10%">
                   <table cellpadding="5" cellspacing="0" width="100%" border="0"  style="text-align:center" >
                   <tr><td>
                    <asp:Button ID="ButtonAddAllProductArticle" runat="server" 
                        CausesValidation="False"  Text="&gt;&gt;" 
                        CssClass="bt2" onclick="ButtonAddAllProductArticle_Click" />
                    </td>
                    </tr>
                    <tr><td>
                    <asp:Button ID="ButtonAddProductArticle" runat="server" 
                        CausesValidation="False" Text="&gt;" 
                        CssClass="bt2" onclick="ButtonAddProductArticle_Click" />
                    </td>
                    </tr>
                    <tr><td>
                    <asp:Button ID="ButtonDeleteProductArticle" runat="server" 
                        CausesValidation="False" Text="&lt;" 
                        CssClass="bt2" onclick="ButtonDeleteProductArticle_Click" />
                   
</td>
                    </tr><tr><td>
                    <asp:Button ID="ButtonDeleteAllProductArticle" runat="server" 
                        CausesValidation="False" Text="&lt;&lt;" 
                       CssClass="bt2" onclick="ButtonDeleteAllProductArticle_Click" />
                        </td>
                    </tr>
                        </table>
                        
                        
                </td>
                <td align="right" colspan="1" style="width:25%">
                    <asp:ListBox ID="ListBoxRightProductArticle" runat="server" Height="440px" 
                        SelectionMode="Multiple" Width="300px"></asp:ListBox>
                        
                        
                        
                </td>
            </tr>
        </table>
              </ContentTemplate>
      </asp:UpdatePanel> 
            </div>
<!--**************************扩展分类************************** -->
      <div id="content9" runat="server" style="display: none;" >
          <%--<img src='container.dataitem("ImagePath")' width="90" height="70" border="0">--%>
                <asp:UpdatePanel ID="UpdatePanel4" runat="server">
        <ContentTemplate> 
             <!-- 商品文章 --> 
             <table align="center" style="width:60%">
            <tr>
                <td align="center" style="width:25%">
                    <asp:Label ID="LabelSLeftProductExtendCategory" runat="server" Text="可选分类"></asp:Label>
                </td>
                <td align="center" style="width:10%">
                </td>
                <td align="center" style="width:25%">
                    <asp:Label ID="LabelRightProductExtendCategory" runat="server" Text="扩展分类"></asp:Label>
                </td>
            </tr>
            <tr>
                <td align="right" style="width:25%">
                    <asp:ListBox ID="ListBoxLeftProductExtendCategory" runat="server" Height="441px" 
                        SelectionMode="Multiple" Width="294px"></asp:ListBox>
                </td>
                <td align="center" style="width:10%">
                 
                 <table cellpadding="5" cellspacing="0" width="100%" border="0">
                 <tr><td>
                    <asp:Button ID="ButtonAddAllProductExtendCagegory" runat="server" 
                        CausesValidation="False"  Text="&gt;&gt;" 
                        onclick="ButtonAddAllProductExtendCagegory_Click"   CssClass="bt2" />
                   </td></tr>
                   
                   <tr><td> <asp:Button ID="ButtonAddProductExtendCagegory" runat="server" 
                        CausesValidation="False" Text="&gt;" 
                          onclick="ButtonAddProductExtendCagegory_Click"    CssClass="bt2"/>
</td></tr>
                 
                   <tr><td> <asp:Button ID="ButtonDeleteProductExtendCagegory" runat="server" 
                        CausesValidation="False" Text="&lt;" 
                          onclick="ButtonDeleteProductExtendCagegory_Click"    CssClass="bt2" />
                 
</td></tr>
                   <tr><td> <asp:Button ID="ButtoDeleteAllProductExtendCagegory" runat="server" 
                        CausesValidation="False" Text="&lt;&lt;" 
                          onclick="ButtoDeleteAllProductExtendCagegory_Click"    CssClass="bt2" />
</td></tr>
                     </table>   
                </td>
                <td align="right" colspan="1" style="width:25%">
                    <asp:ListBox ID="ListBoxRightProductExtendCategory" runat="server" Height="440px" 
                        SelectionMode="Multiple" Width="300px"></asp:ListBox>
                </td>
            </tr>
        </table>
                  </ContentTemplate>
          </asp:UpdatePanel>
            </div>  
            <br />
 <!-- **************************底部************************** -->         
        <div style="background-color:#EEEEEE;padding:6px 0">
            <asp:Button ID="ButtonConfirm" runat="server" Text="确定" 
                onclick="ButtonConfirm_Click" CssClass="bt2" />
<input id="inputReset" runat="server" type="reset" value="重置"  class="bt2"/>
                <uc1:MessageShow ID="MessageShow" runat="server" Visible="False"/>
            
        </div>
        </div>
            <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
                SelectMethod="SearchByProductType" 
                TypeName="ShopNum1.BusinessLogic.ShopNum1_ProductAttribute_Action">
                <SelectParameters>
                    <asp:ControlParameter ControlID="DropDownListProductTypeGuid" 
                        Name="productTypeGuid" PropertyName="SelectedValue" Type="String" />
                </SelectParameters>
            </asp:ObjectDataSource>
        <asp:ObjectDataSource ID="ObjectDataSourcePrice" runat="server" 
            SelectMethod="SearchGuidNameDiscount" 
            TypeName="ShopNum1.BusinessLogic.ShopNum1_MemberRank_Action">
        </asp:ObjectDataSource>
            <asp:ObjectDataSource ID="ObjectDataSourceProductyAttributePrice" 
                runat="server" SelectMethod="SearchByProductTypeIsMultiSelect12" 
                TypeName="ShopNum1.BusinessLogic.ShopNum1_ProductAttribute_Action">
                <SelectParameters>
                    <asp:ControlParameter ControlID="DropDownListProductTypeGuid" 
                        Name="productTypeGuid" PropertyName="SelectedValue" Type="String" />
                </SelectParameters>
            </asp:ObjectDataSource>
            <asp:UpdatePanel ID="updatePanelHiddenFields" runat="server">
            <ContentTemplate>
            <asp:HiddenField ID="HiddenFieldAtrributeValue0" runat="server" Value="true" />
            <asp:HiddenField ID="HiddenFieldAtrributeValue1" runat="server" Value="false" />
            <asp:HiddenField ID="HiddenFieldAtrributeValue2" runat="server" Value="false" />
            </ContentTemplate>
            </asp:UpdatePanel>
    <asp:HiddenField ID="hiddenFieldGuid" runat="server" Value="0" />
    </form>
</body>
</html>
