<%@ page language="C#" autoeventwireup="true" inherits="Diy_ProjectList, WebApp_deploy" enableEventValidation="false" %>

<!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 href="css/diy_buy081023.css" rel="stylesheet" type="text/css" />
   
    
    
    <script  type="text/javascript" language="javascript">
function go(typeID, year, month, order) {
	location.href = 'searchBlue_Print1.jsp?typeID=' + typeID + '&year=' + year + '&month=' + month + '&order=' + order;
}
	
function setTab(name,cursel,n) {
	for(i=1;i<=n;i++) {
		var menu=document.getElementById(name+i);
		var con=document.getElementById("con_"+name+"_"+i);
		menu.className=i==cursel?"hover":"";
		con.style.display=i==cursel?"block":"none";
	}
}
</script>
</head>
<body>
    <form id="form1" runat="server">
 <%--   <asp:ScriptManager ID="ScriptManager1" runat="server" EnablePartialRendering="True"/>
--%>

    <div class='main2'>
        <div class="select_flow guide">
            <strong>您所在的位置：</strong><a href="index.aspx">DIY硬件</a> &gt;  &gt;
             <asp:LinkButton  runat="server" ID='ProjectSearchType' Enabled="false"  Text='所有方案'></asp:LinkButton>
        </div>
        <div class="left688"  style="width: 100%">
            <div class="pcbox_1" style="width: 100%">
                <div class="caption">
                    <span class="left_title" ><strong class="l_title"><a runat="server" id="aall" ></a></strong></span>
                    <div class="select_plan">
                        <strong>选择装机类型</strong>
                     <asp:DropDownList  AutoPostBack="True" runat="Server" id='DiyType' name="TEST" OnSelectedIndexChanged="DiyType_SelectedIndexChanged">
                      <asp:ListItem   Selected="True" Text="查看装机方案" Value="0"></asp:ListItem>
                             
                        </asp:DropDownList>
                    </div>
                    <div class="clear">
                    </div>
                </div>
                <div class="clear">
                </div>
                <div id="ddtabs1" class="tab_top2"  width="100%">
                    <ul>
                        <li>  <asp:LinkButton    runat="server" ID='DateTimeSort'  Text='按时间排序' OnClick="DateTimeSort_Click"/>
                        </li> 
                        <li> <asp:LinkButton   runat="server" ID='PriceSort'  Text='按价格排序' OnClick="PriceSort_Click"/> </li>
                   
                   <li><asp:DropDownList  AutoPostBack="True"  runat="server" id='Year' OnSelectedIndexChanged="Year_SelectedIndexChanged">
                       
                  </asp:DropDownList> </li><li>
                           <asp:DropDownList  AutoPostBack="True" runat="server" id='Month' OnSelectedIndexChanged="Month_SelectedIndexChanged">
                        
                   </asp:DropDownList></li>
                    </ul>
                </div>
                <div class="hack8px">                </div>
                <div  id="tabpc1">
                        <%-- <asp:UpdatePanel ID="updatepanl1" runat="server"  >--%>
<ContentTemplate>
<table border="0" cellpadding="0" cellspacing="0" class="plans-list" width="100%">
            <asp:GridView EmptyDataText="对不起，没有你需要的方案" Width="100%"  AllowPaging="true" ID="rpView" runat="server"  CssClass="plans-list" PageSize="15" AutoGenerateColumns="False" OnPageIndexChanging="rpView_PageIndexChanging">
                    <Columns> 
                    <asp:TemplateField>
                    
                   
                        <HeaderTemplate>
                         
                         
                       
                            标题</th>
                        <th align="center" scope="col">
                            发表日期</th>
                        <th align="center" scope="col">
                            装机类型</th>
                        <th align="center" scope="col">
                            价格
                        </HeaderTemplate>
                        
                         <ItemTemplate>
                    
                           <a href='<%#"ProductList.aspx?ProjectID="+Eval("ID") +"&FormID="+Eval("FormID")%>' >    <%#Eval("Title") %></a></td>
                        <td>
                            <i class="grey"> <%#Eval("AddTime") %></i></td>
                        <td>
                       <asp:Label runat="server" ID='Name' Text='<%#Eval("Name") %>' /></td>
                        <td>
                            ￥<i class="orange"><%#Eval("Price") %></i>
                    </ItemTemplate>
                    
                    </asp:TemplateField></Columns>
                    </asp:GridView>  
                                                                  
                </table>   <%--  </ContentTemplate>
      <Triggers> 
        <asp:AsyncPostBackTrigger  ControlID="Month"  EventName="SelectedIndexChanged"/> 
        <asp:AsyncPostBackTrigger ControlID="Year"  EventName="SelectedIndexChanged"/> 
        <asp:AsyncPostBackTrigger ControlID="DateTimeSort"  EventName="Click"/> 
        <asp:AsyncPostBackTrigger ControlID="PriceSort"  EventName="Click"/> 
               <asp:AsyncPostBackTrigger ControlID="DiyType"  EventName="SelectedIndexChanged"/> 

      </Triggers></asp:UpdatePanel>    --%>
      </div>
            </div>
        </div>
     
   </div>

    </form>
</body>
</html>
