<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Configurations.aspx.cs" MasterPageFile="~/masterpages/eDashboard.master" Inherits="WebSite.site.Administrative.Fraud.Configurations" %>


<asp:Content ID="Content1" ContentPlaceHolderID="eContent" runat="server">
    
    <h2><asp:Literal ID="m_litHeader" runat="server" Text="<%$ Resources: Default, LabelFraudConfigManagement %>" /></h2>
    
    <div>
        <asp:UpdatePanel ID="upnlConfigureFraud" UpdateMode="Conditional" runat="server">
        <ContentTemplate>
            
            <table class="cs-table cs-grid-size-fixed" style="font-size: 14px; font-weight: bold; width: 100%; border: solid 1px #ccc" >
                <tr>
                    <td>
                        Company Name
                    </td><td>
                        Bucket 1 Days
                    </td><td>
                        Bucket 2 Days
                    </td><td>
                        Bucket 3 Days
                    </td><td>
                        Bucket 4 Days
                    </td><td>
                        Bucket 5 Days
                    </td><td>
                             
                         </td>
                </tr><tr style="background-color:#ccddff;">
                        <td>
                            eSecuritel / Default 
                        </td><td>
                            <asp:TextBox ID="txtDefaultBucket1Days" runat="server" />
                        </td><td>
                            <asp:TextBox ID="txtDefaultBucket2Days" runat="server" />
                        </td><td>
                            <asp:TextBox ID="txtDefaultBucket3Days" runat="server" />
                        </td><td>
                            <asp:TextBox ID="txtDefaultBucket4Days" runat="server" />
                        </td><td>
                            <asp:TextBox ID="txtDefaultBucket5Days" runat="server" />
                        </td><td>
                            <asp:Button runat="server" Text="Add Row" OnClick="GridAddRowClicked"/>
                             </td>
                    </tr>
                <asp:Repeater ID="rptRampConfig" OnItemDataBound="rptRampConfig_ItemDataBound" OnItemCommand="rpt_ItemCommand" runat="server">
                    <ItemTemplate >
                        <tr>
                            <td>
                                <asp:DropDownList ID ="ddlCompany" runat="server"/>
                            </td><td>
                                <asp:TextBox ID="txtBucket1Days" runat="server" />
                            </td><td>
                                <asp:TextBox ID="txtBucket2Days" runat="server" />
                            </td><td>
                                <asp:TextBox ID="txtBucket3Days" runat="server" />
                            </td><td>
                                <asp:TextBox ID="txtBucket4Days" runat="server" />
                            </td><td>
                                <asp:TextBox ID="txtBucket5Days" runat="server" />
                            </td><td>
                                 <asp:Button runat="server" Text="Delete Row" CommandName="Delete"/>    
                                 </td>
                        </tr>
                    </ItemTemplate>
                    <AlternatingItemTemplate>
                        <tr style="background-color:#ccddff;">
                            <td>
                                <asp:DropDownList ID ="ddlCompany" runat="server"/>
                            </td><td>
                                <asp:TextBox ID="txtBucket1Days" runat="server" />
                            </td><td>
                                <asp:TextBox ID="txtBucket2Days" runat="server" />
                            </td><td>
                                <asp:TextBox ID="txtBucket3Days" runat="server" />
                            </td><td>
                                <asp:TextBox ID="txtBucket4Days" runat="server" />
                            </td><td>
                                <asp:TextBox ID="txtBucket5Days" runat="server" />
                            </td><td>
                                 <asp:Button ID="Button1" runat="server" Text="Delete Row" CommandName="Delete"/>    
                                 </td>
                        </tr>
                    </AlternatingItemTemplate>
                </asp:Repeater>
            </table>
            
            <asp:Button ID="btnProcessChanges" Text="Save Changes" OnClick="SaveChangesClicked" runat="server"/>

            <asp:UpdateProgress ID="uprogress" runat="server" >
                <ProgressTemplate >
                    <asp:Image ID="Image1" runat="server" ImageUrl="~/images/ajax-loader.gif" />
                </ProgressTemplate>
            </asp:UpdateProgress>
            
            <br /><br />

            <div id="Div1">
                <asp:Literal Visible ="false" ID="litChangesSavedMessage" runat="server" Text="<%$ Resources: Default, LabelFraudConfigChangeSaved%>" /><br />
            </div>

        </ContentTemplate>
    </asp:UpdatePanel>
    </div>
</asp:Content>
