<%@ Page Language="C#" MasterPageFile="~/masterpage/MasterPage.master" AutoEventWireup="true" CodeFile="Retailer.aspx.cs" 
Inherits="Retailer" Title="eGen Service" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div id="middle">
        <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
            <tr>
                <td colspan="4" class="hdr">
                    <a href="Retailer.aspx" class="active">Recharge Margin</a><span style="padding-right: 90px;">&nbsp;</span>
                    <span style="padding-left: 90px;">&nbsp;</span><a href="OtherMargin.aspx">Other Margin</a>
                </td>
            </tr>
            <tr>
                <td style="height: 30px" colspan="4">
                </td>
            </tr>
            
            <%--<tr>
                <td></td>
                <td><asp:Label ID="lblService" runat="server" Text="Select Service"></asp:Label></td>
                <td></td>
                <td><asp:DropDownList ID="ddlService" runat="server">
                <asp:ListItem>DTH</asp:ListItem>
                <asp:ListItem>DataCard</asp:ListItem>
                <asp:ListItem>MobileRecharge</asp:ListItem>
                </asp:DropDownList></td>
            </tr>
            
            <tr>
                <td colspan="3"></td>
                <td><asp:Button ID="btnSubmit" runat="server" Text="Submit" /></td>
            </tr>--%>
            
            <tr>
                <td colspan="4" style="padding-left: 0px; padding-right: 0px">
                    <asp:GridView ID="GridRetailer" runat="server" Width="100%" ForeColor="#333333"  
                       AutoGenerateColumns="false" AllowPaging="true" PageSize="20"  
                        onpageindexchanging="GridRetailer_PageIndexChanging" HorizontalAlign="Center" >
                        
                        <RowStyle HorizontalAlign="Center" />
                        
                       <Columns>
                           <asp:TemplateField HeaderText="SL.">
                              <ItemTemplate>
                                  <%#((GridViewRow)Container).RowIndex+1 %>
                              </ItemTemplate>
                           </asp:TemplateField>
                           <asp:BoundField DataField="OperatorType" HeaderText="Service Name" />
                           <asp:BoundField DataField="OperatorName" HeaderText="Operator Name" />                          
                           <asp:BoundField DataField="CommissionInPercentage" HeaderText="Agent Margin(%)" ItemStyle-HorizontalAlign="Center" 
                                      HeaderStyle-HorizontalAlign="Center" />                          
                       </Columns>
                       <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="#dddee0" ForeColor="Black" HorizontalAlign="Center" />
                        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                        <HeaderStyle BackColor="#dddee0" Font-Bold="True" ForeColor="Black" />
                       </asp:GridView>
                </td>
            </tr>          
            <tr>
                <td colspan="4" style="height: 30px">
                </td>
            </tr>
        </table>
    </div>
    <div id="right" style="background: none">
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td class="cdr">
                    <strong>Retailer Margin instruction</strong>
                </td>
            </tr>
            <tr>
                <td style="padding: 10px 0 30px 5px; font-size: 15px">
                    Comming Soon
                </td>
            </tr>
        </table>
    </div>
</asp:Content>

