<%@ Page Language="C#" MasterPageFile="~/Admin/MasterPage/AdminMasterPage.master"
    AutoEventWireup="true" CodeFile="OperatorControl.aspx.cs" Inherits="OperatorControl" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <link href="../css/egen_admin.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        .HeaderFreeze
        {
            height: 40px;
            top: 80px;
        }
    </style>

    <script src="script/ddlevelsmenu.js" type="text/javascript"></script>

    <script src="script/func.js" type="text/javascript"></script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <table>
        <tr>
            <td align="center" colspan="6">
                <asp:Label ID="lblMsg" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td colspan="6">
                <asp:GridView ID="gvVendor" runat="server" AutoGenerateColumns="False" BorderColor="#CCCCCC"
                    BackColor="White" Font-Bold="False" Font-Italic="False" Font-Overline="False"
                    Font-Strikeout="False" Font-Underline="False" Width="1330px" BorderStyle="None"
                    BorderWidth="1px" CellPadding="3" ShowHeader="true" CssClass="HeaderFreeze" AllowPaging="true"
                    PageSize="50" ShowFooter="true" OnRowDataBound="gvVendor_RowDataBound" DataKeyNames="Remark, OperatorID">
                    <PagerSettings Mode="NextPreviousFirstLast" NextPageText="Next" PreviousPageText="Previous" />
                    <RowStyle HorizontalAlign="Center" ForeColor="#000066" />
                    <Columns>
                        <asp:TemplateField HeaderText="S.No.">
                            <ItemTemplate>
                                <asp:CheckBox ID="chkSelect" runat="server" />
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:BoundField HeaderStyle-Width="230" ItemStyle-Width="150" DataField="ServiceType" HeaderText="Service" />
                        <asp:BoundField HeaderStyle-Width="230" ItemStyle-Width="120" DataField="Operator" HeaderText="Operator" />
                        <asp:BoundField HeaderStyle-Width="230" ItemStyle-Width="120" DataField="ServiceProvider" HeaderText="Vendor" />
                        <asp:BoundField HeaderStyle-Width="230" ItemStyle-Width="120" DataField="Status" HeaderText="Status" />
                        <asp:TemplateField HeaderText="Remark For User">
                            <ItemTemplate>
                                <asp:TextBox ID="txtRemark" runat="server" Width="240"></asp:TextBox>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                    <FooterStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" VerticalAlign="Middle" />
                    <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
                    <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" HorizontalAlign="Center" />
                    <HeaderStyle BackColor="#DBE4E8" Font-Bold="True" ForeColor="Black" HorizontalAlign="Left" />
                    <EditRowStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                    <AlternatingRowStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                </asp:GridView>
            </td>
        </tr>
        <tr bgcolor="#FFFFFF">
                        <td colspan="6" style="text-align: right; padding: 10px 50px 10px 0;">
                            <asp:Button ID="btnAction" runat="server" CssClass="button active" Text="Action" ToolTip="Click here to Block/Active Operator"
                    OnClick="btnAction_Click" />
                        </td>
                    </tr>
        
    </table>
</asp:Content>
