<%@ page autoeventwireup="true" debug="true" enableeventvalidation="false" inherits="_tbl_paper_view, App_Web_wjux_2xt" language="C#" validaterequest="false" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>试题预览</title>
<link href="../css/StyleSheet.css" rel="stylesheet" type="text/css" />
<link href="../css/GridView.css" rel="stylesheet" />
<link href="../css/main.css" rel="stylesheet" type="text/css" />
  <link href="../css/pager.css" rel="stylesheet" type="text/css" />
<script src="../My97DatePicker/WdatePicker.js" type="text/javascript"></script>
<script src="../jquery-1.5.js" type="text/javascript"></script>
<link href="../window/_css/window.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="../window/message/jquery.message.js" type="text/javascript"></script>
<script language="javascript" src="../window/jquery/jquery.min.js" type="text/javascript"></script>
<script language="javascript" src="../window/jquery-ui/jquery-ui.min.js" type="text/javascript"></script>
<script language="javascript" src="../window/jquery.bgiframe.pack.js" type="text/javascript"></script>
<link href="../window/_css/jqueryui/blitzer/jquery-ui-1.8.12.custom.css" rel="stylesheet" type="text/css" />
<link href="../alert/jquery.alert.css" rel="stylesheet" type="text/css" />
<script src="../alert/jquery.easydrag.js" type="text/javascript"></script>
<script src="../alert/jquery.alert.js" type="text/javascript"></script>


</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server" />
<div class="title">
<asp:Label ID="lblList" runat="server" Text="试题预览"></asp:Label>
</div>



<div class="panel" style="display:none ">
章节：<asp:DropDownList ID="Top_Cha_id" runat="server">
    </asp:DropDownList>
    题型：<asp:DropDownList ID="Topic_type" runat="server">
    </asp:DropDownList>
    难度：<asp:DropDownList ID="Top_Diffculty" runat="server">
    <asp:ListItem Text="请选择难度..." Value=""></asp:ListItem> 
        <asp:ListItem Text="容易" Value="容易"></asp:ListItem>
        <asp:ListItem Text="中等" Value="中等"></asp:ListItem>
        <asp:ListItem Text="困难" Value="困难"></asp:ListItem>
    </asp:DropDownList>
    题目状态：<asp:DropDownList ID="timu_state" runat="server">
        <asp:ListItem Text="请选择状态..." Value=""></asp:ListItem>
        <asp:ListItem Text="可用" Value="可用"></asp:ListItem>
        <asp:ListItem Text="作废" Value="作废"></asp:ListItem>
    </asp:DropDownList>
    
题目：<asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>

    <asp:Button ID="btn_serch" CssClass="button_b" runat="server" Text="搜索" OnClick="btn_serch_Click" />

</div>

    <table align="center" width="100%">
   
        <tr>
       
            <td align="center">
           
                <table border="0" cellpadding="0" cellspacing="0" width="100%">
               
                    <tr>
                    
                        <td align="center">
                      
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
    <asp:DataList ID="DataList1" runat="server" OnItemDataBound="DataList1_ItemDataBound"
        Width="80%" OnItemCommand="DataList1_ItemCommand">
        <ItemTemplate>
            <table border="0" cellpadding="4" cellspacing="5" style="background-color: #f7fff7"
                width="100%">
                <tr>
                
                
                <td  style="border-right: darkgray 1px dashed; border-top: darkgray 1px dashed; border-left: darkgray 1px dashed; border-bottom: darkgray 1px dashed; " align="left" >
                        <div style="padding-top:5px; padding-left:10px ">
                          <%--  <%# Eval("Topic_no") %>--%>
                            
                            <%#Container.ItemIndex + 1 + (int.Parse(page_indexpage.Text)-1) * 20%>
                            <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
                            <%#"【章节：" + Eval("K_Name") + " 题型：" + Eval("Typ_name") + "】"%>
                            
                            <asp:Button ID="Button2" runat="server" CssClass="btn" CommandArgument='<%# Eval("Gid") %>' CommandName="delete"
                                Text="删除试题" />
                        </div>
                      
                       
                        <div style="padding-top: 5px; padding-left: 10px; display:none " >
                           
                            <asp:Literal ID="Literal1" runat="server"></asp:Literal>
                        </div>
                    </td>
                </tr>
                <tr style="display: none">
                    <td align="left" style="background-color: Gainsboro; border-right: darkgray 1px solid;
                        border-top: darkgray 1px solid; border-left: darkgray 1px solid; border-bottom: darkgray 1px solid;">
                        <div style="padding-top: 5px; padding-left: 10px">
                         <span style="color:Red; font-weight:bolder; ">答案：</span> <asp:Label ID="Label3"  ForeColor="Red" Font-Bold="true" runat="server" Text="Label"></asp:Label>
                        </div>
                    </td>
                </tr>
                <tr  style="display:none ">
                    <td align="left" style="background-color: Gainsboro; border-right: darkgray 1px solid;
                        border-top: darkgray 1px solid; border-left: darkgray 1px solid; border-bottom: darkgray 1px solid;">
                        <div style="padding-top: 5px; padding-left: 10px">
                            <span style="color: black; font-weight: bolder;">关键词：</span><%# Eval("Top_KeyWord")%>
                        </div>
                    </td>
                </tr>
            </table>
        </ItemTemplate>
    </asp:DataList>
<asp:Panel ID="Panel1" runat="server" Visible="false" Width="100%">
    <table border="0" cellpadding="0" cellspacing="0" class="table" width="79%">
   
        <tr>
      
            <td align="left">
            
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="left">
<webdiyer:aspnetpager id="PagerButtom" runat="server" alwaysshow="True" bordercolor="Aqua"
cssclass="paginator" custominfoclass="" custominfohtml="当前第%CurrentPageIndex%/%PageCount%页 共%RecordCount%条记录 每页%PageSize%条 "
custominfosectionwidth="" firstpagetext="首页" horizontalalign="Right" lastpagetext="尾页"
layouttype="Table" morebuttonsclass="" nextpagetext="下一页" numericbuttoncount="10"
onpagechanged="Pager_PageChanged" pageindexboxclass="cpb" pagesize="20" prevpagetext="上一页"
showcustominfosection="Right" showpageindexbox="Always">
</webdiyer:aspnetpager>
</td>
</tr>
</table>



</td> 
</tr> 
</table> 
</asp:Panel>
<asp:HiddenField ID="IsEdit" runat="server" />
<asp:HiddenField ID="modify" runat="server" />
</ContentTemplate>
<Triggers>

<asp:AsyncPostBackTrigger ControlID="btn_serch" />
</Triggers>
</asp:UpdatePanel>
                        </td>
                    </tr>
                    <tr>
                        <td align="center">
                            <asp:Button ID="Button1" runat="server" CssClass="button_b" OnClick="Button1_Click" Text="返回" />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</form>
<asp:Label ID="lb_pageid" runat="server" Text="" Visible="false"></asp:Label>
<asp:Label ID="recordcount" runat="server" Visible="false"></asp:Label>
<asp:Label ID="page_indexpage" runat="server" Text="1" Visible="false"></asp:Label>
<asp:Label ID="page_count" runat="server" Text="0" Visible="false"></asp:Label>

<asp:Label ID="l2" runat="server" ></asp:Label>

</body>
</html>
