<%@ Page Title="" Language="C#" MasterPageFile="~/helpdesk/Dashboard.master" AutoEventWireup="true" CodeBehind="Dashboard_assign.aspx.cs" Inherits="helpdesk.helpdesk.Dashboard_assign" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">

    <div class="well">

             
        将下面问题标记为 <asp:DropDownList runat="server" CssClass="form-control" ValidationGroup="add"  style="display:inline-block; width:200px" ID="ddl_status">
             <asp:ListItem Text="==选择状态=" Value=""></asp:ListItem>
                <asp:ListItem Text="已读" Value="1"></asp:ListItem>
                <asp:ListItem Text="未读" Value="0"></asp:ListItem>
           </asp:DropDownList>
        <asp:RequiredFieldValidator runat="server" ID="rf" ControlToValidate="ddl_status" ValidationGroup="add" ErrorMessage="选择状态" Display="Dynamic"></asp:RequiredFieldValidator>   

           <asp:Button runat="server" ID="btn_ok" Text="确定"
                OnClientClick="if(!isselect()) return false; " 
                ValidationGroup="add" CssClass="btn btn-success" OnClick="btn_ok_Click" />

        &nbsp;&nbsp;|   &nbsp;&nbsp;


          
        <asp:Button   runat="server" ID="btndelete" Text="删除"  
            OnClientClick="if(!isselect()) return false; "  CssClass="btn btn-danger btn-sm btn-flat"
            title="删除问题"   onclick="btndelete_Click" 
          />

         
    </div>











    

   <!--/buttons toolbar-->
<asp:ListView ID="lv_lists" runat="server" 
    ItemContainerID="layoutTableTemplate" 
              DataKeyNames="id" 
    
                    
 >
 
 
    <LayoutTemplate>
 
    <table  class="table table-hover">
        <tr>

        <th width="50" >
             <input type="checkbox" id="cb_selectall"  onclick="selectall();  "  />  
            ID

        </th>

            <th width="100" >操作人</th>
     
        <th width="400px" >主题</th>
        
      <th width="200px" >备注</th>
        <th width="120px">指派日期</th>
          
           
           
        </tr>
        
         <asp:PlaceHolder runat="server" ID="itemPlaceholder"></asp:PlaceHolder>
        </table>
 
        
 
    </LayoutTemplate>

   
    
    <ItemTemplate>
    
       <tr    class='<%#isbold(Eval("isread")) %>' >


<td  >

   <input type="checkbox" class="chk_item" value='<%# Eval("id") %>'/> <%#Eval("id") %>
</td> 


   <td width="*" >
      <%#Eval("opname")%>  
       
  </td>


   <td width="*" >
    <a target=_blank href='Ticket_view.aspx?id=<%#Eval("tid")%>'><%#Eval("title")%></a>
          
  </td>
<td>
     <%#Eval("notes")%>
</td>


  

<td width="140px" class="f11">
 <%#DateTime.Parse(Eval("createdate").ToString()).ToString("yyyy-MM-dd")%> 
</td>
 
 
 
</tr>  
    </ItemTemplate>

</asp:ListView>        









        
 
 
       
<div  >
    <asp:DataPager ID="Pager"   class="btn-group btn-group-sm"  
       PagedControlID="lv_lists" runat="server" PageSize="20">
 <Fields>
           
     
            <asp:NextPreviousPagerField 
                PreviousPageText="<" 
                FirstPageText="|<" 
                ShowPreviousPageButton="true"
                ShowFirstPageButton="true" 
                ShowNextPageButton="false" 
                ShowLastPageButton="false"
                ButtonCssClass="btn btn-default" 
                RenderNonBreakingSpacesBetweenControls="false" 
                RenderDisabledButtonsAsLabels="false" />

            <asp:NumericPagerField 
                ButtonType="Link" 
                CurrentPageLabelCssClass="btn btn-primary disabled"  
                RenderNonBreakingSpacesBetweenControls="false"
                NumericButtonCssClass="btn btn-default" 
                ButtonCount="10" 
                NextPageText="..." 
                NextPreviousButtonCssClass="btn btn-default" />
            
           <asp:NextPreviousPagerField 
               NextPageText=">" 
               LastPageText=">|" 
               ShowNextPageButton="true"
               ShowLastPageButton="true" 
               ShowPreviousPageButton="false" 
               ShowFirstPageButton="false"
               ButtonCssClass="btn btn-default" 
               RenderNonBreakingSpacesBetweenControls="false" 
               RenderDisabledButtonsAsLabels="false"/>
      

  </Fields> 
</asp:DataPager>
</div>







         <input type="hidden" name="hf_ids" id="hf_ids" />




























</asp:Content>
