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

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <link href="../css/style.css" rel="stylesheet" type="text/css" />
    <link href="../css/drope.css" rel="stylesheet" type="text/css" />
</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="3"></td>
  <td style="padding:0 0 0 70px;"><input type="button" class="button"  value="Submit" style="margin:15px 0 0 0;" onclick="confirmHappy()" /></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>
