<%@ Page Title="" Language="C#" MasterPageFile="~/Master.Master" AutoEventWireup="true" CodeBehind="Alis.aspx.cs" Inherits="ZFJINV.Administration.Alis" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="caption" style="padding-bottom: 12px;">
        <span class="caption-subject font-blue sbold" style="font-size: 150%;">Log Exception</span>

    </div>
    <div class="rounded-corners">
        <div style="width: 100%; overflow: auto;">
            <asp:UpdatePanel runat="server">
                <ContentTemplate>
                    <asp:GridView ID="grdLogException" ShowHeaderWhenEmpty="True"
                        GridLines="Horizontal" BorderColor="WhiteSmoke" RowStyle-Wrap="true"
                        HeaderStyle-Wrap="true" RowStyle-BorderColor="#e8e8ec"
                        CssClass="uimy ui table" runat="server" AutoGenerateColumns="False"
                        PageSize="10"
                        OnRowCommand="grdLogException_RowCommand"
                        OnRowDeleting="grdLogException_RowDeleting"
                        PagerStyle="pagination-ys">

                        <Columns>
                            <asp:BoundField DataField="MessageID" Visible="true" HtmlEncode="False" HeaderText="MessageID" ReadOnly="True" SortExpression="MessageID" HeaderStyle-CssClass="gridView1" ItemStyle-CssClass="gridviewBody" />
                            <asp:BoundField DataField="ErrorMessage" ReadOnly="true" HtmlEncode="False" HeaderText="Error Message" SortExpression="ErrorMessage" HeaderStyle-CssClass="gridView1" ItemStyle-CssClass="gridviewBody" />
                            <asp:BoundField DataField="FormName" HeaderText="Form Name" SortExpression="FormName" HeaderStyle-CssClass="gridView1" ItemStyle-CssClass="gridviewBody" />
                            <asp:BoundField DataField="AddDate" HeaderText="Add Date" SortExpression="AddDate" HeaderStyle-CssClass="gridView1" ItemStyle-CssClass="gridviewBody" />
                            <asp:BoundField DataField="AddTime" HeaderText="Add Time" SortExpression="AddTime" HeaderStyle-CssClass="gridView1" ItemStyle-CssClass="gridviewBody" />
                            <asp:BoundField DataField="Operation" HeaderText="Operation" SortExpression="Operation" HeaderStyle-CssClass="gridView1" ItemStyle-CssClass="gridviewBody" />
                            <asp:BoundField DataField="LoggedInUser" HeaderText="LoggedInUser" SortExpression="LoggedInUser" HeaderStyle-CssClass="gridView1" ItemStyle-CssClass="gridviewBody" />


                            <asp:TemplateField HeaderText="Action" SortExpression="Action" HeaderStyle-CssClass="gridView2" ItemStyle-CssClass="gridviewBody1" FooterStyle-CssClass="FooterStyle">
                                <ItemTemplate>

                                    <asp:Button CssClass="small ui button red" Text="Mark as Fixed" ID="lblDelete" ToolTip="Delete" CommandArgument='<%# Eval("MessageID") %>' formnovalidate="formnovalidate" runat="server" CommandName="DeleteRow" />

                                    <%--<asp:LinkButton ID="lblEdit" CommandArgument='<%# Eval("MessageID") %>' CommandName="EditRow" runat="server">Edit</asp:LinkButton>--%>
                                    <%--<asp:LinkButton ID="lblDelete" CommandArgument='<%# Eval("POID") %>' CommandName="DeleteRow" runat="server">Delete</asp:LinkButton>--%>
                                </ItemTemplate>

                                <EditItemTemplate>
                                    <%--<asp:ImageButton ID="lblUpdate" CommandArgument='<%# Eval("POID") %>' ImageUrl="~/assets/global/img/update.png" runat="server" CommandName="UpdateRow"/>--%>
                                    <%--<asp:ImageButton ID="lblCancel" CommandArgument='<%# Eval("POID") %>' ImageUrl="~/assets/global/img/cancle.png" runat="server" CommandName="CancelRow"/>--%>
                                </EditItemTemplate>


                            </asp:TemplateField>

                        </Columns>

                    </asp:GridView>
                </ContentTemplate>
                <Triggers>
                    <asp:AsyncPostBackTrigger ControlID="grdLogException" />
                </Triggers>
            </asp:UpdatePanel>
        </div>

    </div>
</asp:Content>
