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

<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">
    <div id="contentmain">
        <div id="content">
            <div id="detailform">
                <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
                    <tr>
                        <td>
                            <table cellpadding="0" cellspacing="1" align="center">
                            <tr>
                            <td style="text-align:center">
                            <asp:Label ID="lblMsg" runat="server"></asp:Label>
                            </td>
                            </tr>
                                <tr>
                                    <td>
                                        <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" DataKeyNames="AvailabilityIn,ServiceProvider,OperatorID,ServiceProviderSms"
                                            OnRowDataBound="gvVendor_RowDataBound">
                                            <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" />
                                                        <%#Container.DisplayIndex+1%>
                                                    </ItemTemplate>
                                                </asp:TemplateField>                                                
                                                <asp:BoundField HeaderStyle-Width="230" ItemStyle-Width="120" DataField="ServiceType" HeaderText="Service Name" />
                                                <asp:BoundField HeaderStyle-Width="230" ItemStyle-Width="120" DataField="Operator"  HeaderText="Operator Name" />
                                                <asp:BoundField HeaderStyle-Width="230" ItemStyle-Width="120" DataField="Status" HeaderText="Current Status" />
                                                <asp:TemplateField HeaderText="Vendor For Web">
                                                    <ItemTemplate>
                                                        <asp:DropDownList ID="ddlVendor" runat="server" Width="170">
                                                        </asp:DropDownList>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Vendor For Sms">
                                                    <ItemTemplate>
                                                        <asp:DropDownList ID="ddlVendorsms" runat="server" Width="170">
                                                        </asp:DropDownList>
                                                    </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>
                            </table>
                        </td>
                    </tr>
                    <tr bgcolor="#FFFFFF">
                        <td colspan="6" style="text-align: right; padding: 10px 50px 10px 0;">
                            <asp:Button ID="btnUpdate" runat="server" Text="Update" CssClass="button active"
                                OnClick="btnUpdate_Click" />
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
    <table>
        <tr>
            <td align="center">
                
            </td>
        </tr>
        <tr>
            <td>
            </td>
        </tr>
        <tr>
            <td align="center">
            </td>
        </tr>
    </table>
</asp:Content>
