<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="LoginDefaultSetting.aspx.vb"
    MasterPageFile="~/FiniqAppMasterPage.Master" Inherits="FinIQWebApp.LoginDefaultSetting"
    Title="Login Default Settings" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%--<%@ Register src="../FinIQ_User_Controls/Fast_Find_Customer_Control/FinIQ_Fast_Find_Customer.ascx" tagname="FinIQ_Fast_Find_Customer" tagprefix="UC_CustomerControl" %>--%>
<%@ Register Src="../FinIQ_User_Controls/Smart_Search_Customer_Control/FinIQ_Customer_SmartSearch.ascx"
    TagName="FinIQ_Customer_SmartSearch" TagPrefix="ucsmart" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="Server">
    <link href="../App_Themes/Style1.css" rel="stylesheet" type="text/css" />
    <script lang="JavaScript" src="LoginDefSettings.js"></script>
    <%-- <script language="javascript" id="scr1" type="text/javascript">
           function DeleteComDefSetting() {

               if (confirm("Are you sure to Delete ? ")) {

                   return true;
               }
               else {
                   return false;
               }
           }--%>
    <style type="text/css">
        .lblLoginName_css {
            padding-right: 50px;
        }

        #ctl00_MainContent_FindCustSmart_automplete_1 {
            width: 190px !important;
        }
        #ctl00_MainContent_FindCustSmart_ddlCustSearch {
             width: 130px !important;
        }
		
		/*<Changed by Mayuri C on 09-Mar-2021 for Jira UBP_Internal UBPINT 467 Login Default Setting -When clicked on Add new Extra login details table is loading || Informed by Nitin N>*/
        .paddingRight {
        
            padding:0px 3px 0px 3px;
        

        }
    </style>
    <script type="text/javascript">


        var prm1 = Sys.WebForms.PageRequestManager.getInstance();
        prm1.add_endRequest(EndRequest1);

        function ConformDelete() {

            /// confirm("Do you want to continue?");
            if (confirm("Do you want to continue ? ")) {
                return true
            }
            else {
                return false
            }
        }

        function ShowPanel() {

            document.getElementById('').style.display = 'block';
            document.getElementById('').style.display = 'block';

        }

        function CloseWindow() {

            window.close();

        }

        function AllowNumericOnly(e) {
            var keycode;
            if (window.event)
                keycode = window.event.keyCode;
            else if (event)
                keycode = event.keyCode;
            else if (e)
                keycode = e.which;
            else return true;

            if ((keycode > 47 && keycode <= 57)) { return true; }
            else { return false; } return true;
        }

        function EnterKeyEvent(evt) {
            var code = (evt.which) ? evt.which : evt.keyCode;

            if (code == 13) {
                __doPostBack('<%=txtrowsperpage.ClientID%>', 'TextChanged');

            }
        }

        function EndRequest1(sender, args) {
            $("#<%=txtrowsperpage.ClientID%>").keydown(function (e) {
                var code = e.keyCode || e.which;

                setTimeout(function () {
                    if (code == 13 || code == 9) {
                        document.getElementById('<%=btnSetPageSize.ClientID%>').click();
                            }
                        }, 200);
            });
                }

                $("#<%=txtrowsperpage.ClientID%>").keydown(function (e) {
            var code = e.keyCode || e.which;
            setTimeout(function () {
                if (code == 13 || code == 9) {
                    document.getElementById('<%=btnSetPageSize.ClientID%>').click();
                }
            }, 200);

                });

        window.onbeforeunload = function () {

            if (window.top.name == 'OpenPopup') {

                var Order_No = document.getElementById('ctl00_MainContent_LblOrderNo').innerText;

                if (Order_No != "") {

                    PageMethods.UnlockOrders(Order_No, "MULTBTL")

                }
            }
        }


    </script>

    <asp:ScriptManagerProxy ID="ScriptManagerProxy11" runat="server">
    </asp:ScriptManagerProxy>
    <asp:UpdatePanel ID="UpdatePanelCP" runat="server">
        <ContentTemplate>
            <div>
                <table>
                    <%--  <tr>
                        <td class="background_gray" nowrap="nowrap">Login Default Setting
                        </td>
                    </tr>--%>
                    <tr>
                        <td>
                            <asp:Label ID="lblError" runat="server" CssClass="lblerror"></asp:Label>
                            <asp:Label ID="lblWarning" runat="server" CssClass="lblinfo"></asp:Label>
                            <asp:Label ID="lblInfo" runat="server" CssClass="lblsuccess"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <table>
                                <tr>
                                    <td>
                                        <table>
                                            <tr>

                                                <td>
                                                    <asp:Label ID="lblEntity" runat="server" CssClass="lbl" Visible="false" Text="<%$ Resources:LocalizedText, Entity %>"></asp:Label><%-- false--%>
                                                </td>
                                                <td colspan="5">  <%--class="ctlBlotterPaddingRight"--%>
                                                    <asp:DropDownList ID="ddlEntity" runat="server" AutoPostBack="True" CssClass="ddl" Width="190px" TabIndex="7" Visible="false"></asp:DropDownList><%--false--%>
                                                </td>

                                            </tr>
                                            <tr>
                                                <td class="lblBlotterPaddingRight">
                                                    <span style="color: #FF0000">*</span>
                                                    <asp:Label ID="lblLoginName" runat="server" CssClass="lbl">Login Name</asp:Label>
                                                </td>
                                                <td > <%--class="ctlBlotterPaddingRight"--%>
                                                    <asp:DropDownList ID="ddlLoginName" runat="server" AutoPostBack="True" CssClass="ddl" Width="190px" TabIndex="1"></asp:DropDownList>
                                                </td>
                                                <td class="lblBlotterPaddingRight">
                                                    <span style="color: #FF0000">*</span>
                                                    <asp:Label ID="lblObjectName" runat="server" CssClass="lbl">Object Name</asp:Label>
                                                </td>
                                                <td > <%--class="ctlBlotterPaddingRight"--%>
                                                    <asp:DropDownList ID="ddlObjectName" runat="server" AutoPostBack="True" CssClass="ddl"
                                                        Width="190px" TabIndex="2">
                                                    </asp:DropDownList>
                                                </td>
                                                





                                            </tr>
                                            <tr>
                                                <td class="lblBlotterPaddingRight">
                                                    <span style="color: #FF0000">*</span>
                                                    <asp:Label ID="lblDepositCcy" runat="server" CssClass="lbl">Deposit Ccy</asp:Label>
                                                </td>
                                                <td > <%--class="ctlBlotterPaddingRight"--%>
                                                    <asp:DropDownList ID="ddlDepositccy" runat="server" AutoPostBack="True" CssClass="ddl" Width="190px" TabIndex="3"></asp:DropDownList>
                                                </td>
                                                <td class="lblBlotterPaddingRight">
                                                    <span style="color: #FF0000">*</span>
                                                    <asp:Label ID="lblAlternateCcy" runat="server" CssClass="lbl">Alternate Ccy</asp:Label>
                                                </td>
                                                <td > <%--class="ctlBlotterPaddingRight"--%>
                                                    <asp:DropDownList ID="ddlAlternateccy" runat="server" CssClass="ddl" Width="190px"
                                                        TabIndex="4" AutoPostBack="True">
                                                    </asp:DropDownList>
                                                </td>







                                            </tr>
                                            <tr>
                                                <td class="lblBlotterPaddingRight">
                                                    <span style="color: #FF0000">*</span>
                                                    <asp:Label ID="Label5" runat="server" CssClass="lbl">Maturity</asp:Label>
                                                </td>
                                                <td > <%--class="ctlBlotterPaddingRight"--%>
                                                    <asp:DropDownList ID="lstTenor" runat="server" CssClass="ddl" Width="190px" TabIndex="5" AutoPostBack="True"></asp:DropDownList>
                                                    <asp:TextBox ID="txt_maturity1" runat="server" CssClass="txt" Width="190px"></asp:TextBox>

                                                </td>
                                                <td class="lblBlotterPaddingRight">
                                                    <span style="color: #FF0000">*</span>
                                                    <asp:Label ID="lblNotional" runat="server" CssClass="lbl">Notional</asp:Label>
                                                </td>
                                                <td > <%--class="ctlBlotterPaddingRight"--%>
                                                    <asp:TextBox ID="txt_notional1" runat="server" CssClass="txt" Style="text-align: right" Width="190px" TabIndex="6"
                                                        MaxLength="12" AutoPostBack="true"></asp:TextBox>
                                                    <ajaxToolkit:FilteredTextBoxExtender ID="FilteredTextBoxExtender1" runat="server" FilterType="Numbers, LowercaseLetters, UppercaseLetters,Custom" ValidChars=".," TargetControlID="txt_notional1" />

                                                </td>




                                            </tr>
                                            <tr>

                                                <td class="lblBlotterPaddingRight">
                                                    <span style="color: #FF0000">*</span>
                                                    <asp:Label ID="RMNmlbl" runat="server" CssClass="lbl">RM (Dealing)</asp:Label>
                                                </td>
                                                <td > <%--class="ctlBlotterPaddingRight"--%>
                                                    <asp:DropDownList ID="RMNmddl" runat="server" AutoPostBack="True" CssClass="ddl"
                                                        Width="190px">
                                                    </asp:DropDownList>
                                                </td>

                                                <td class="lblBlotterPaddingRight">
                                                    <span style="color: #FF0000">*</span>
                                                    <asp:Label ID="BookNmlbl" runat="server" CssClass="lbl">Book</asp:Label>
                                                </td>
                                                <td > <%--class="ctlBlotterPaddingRight"--%>

                                                    <asp:DropDownList ID="BookNmddl" runat="server" CssClass="ddl" Width="190px">
                                                    </asp:DropDownList>


                                                </td>



                                            </tr>
                                            <tr>

                                                <td class="lblBlotterPaddingRight">
                                                  <%--  <span style="color: #FF0000">*</span>--%>
                                                     <asp:Label ID="lblCustomerMan" runat="server" CssClass="mandatory" Visible="false" EnableViewState="False">*</asp:Label>
                                                    <asp:Label ID="lblCustomer" runat="server">Customer</asp:Label>
                                                </td>

                                                <td > <%--class="ctlBlotterPaddingRight"--%>
                                                    <asp:Panel ID="pnlcustomer" runat="server">

                                                        <ucsmart:FinIQ_Customer_SmartSearch ID="FindCustSmart" runat="server" Style="white-space: nowrap; width: 191px;" OnUC_Postback="FindCustSmart_UC_Postback" SetTabIndex="1" />
                                                        <asp:HiddenField ID="hdCustomerId" runat="server" />
                                                        <asp:HiddenField ID="hdnCustName" runat="server" />


                                                    </asp:Panel>
                                                </td>

                                                <td class="lblBlotterPaddingRight">
                                                    <asp:CheckBox ID="chkSpotrate" runat="server" CssClass="lbl" Text="Show spot rate"
                                                        TabIndex="8" />
                                                </td>

                                                <td > <%--class="ctlBlotterPaddingRight"--%><%--<asp:Label ID="lblTotalRecords" runat="server" CssClass="lbl" Text="Total Record(s) "  
                                                                        Width="115px" ></asp:Label>--%></td>


                                                <td colspan="2" > <%--class="ctlBlotterPaddingRight"--%>
                                                    


                                                </td>



                                                <td > <%--class="ctlBlotterPaddingRight"--%>
                                                    <asp:TextBox ID="txtCustomer" runat="server" Width="135px" Enabled="False"
                                                        TabIndex="10"></asp:TextBox>
                                                    <%--'Commented by Ashwini to build--%>
                                                    <%--<asp:Panel ID="pnlcustomer" runat="server" Width="227px">
                                                                   <%-- <UC_CustomerControl:FinIQ_Fast_Find_Customer ID="FinIQ_Fast_Find_Customer1" runat="server"
                                                                        Visible="true" Show_Hide_Customer_Name="True" TabIndex="11" />
                                                                    <ucsmart:FinIQ_Customer_SmartSearch runat="server" Style="vertical-align: top; white-space: nowrap;" SetTabIndex="1" ID="FindCustSmart" />
                                                                </asp:Panel>--%>
                                                </td>

                                                <td>
                                                    <%-- <UC_CustomerControl:FinIQ_Find_Customer ID="FindCust" runat="server" Show_Hide_Customer_Name="False"
                                                                TabIndex="11" />--%>
                                         
                                                </td>
                                            </tr>
                                            <tr>


                                                <td class="lblBlotterPaddingRight">

                                                    <asp:Label ID="lblDealingRM" runat="server" CssClass="lbl" Visible="false">RM (Dealing)<span style="color: #FF0000">*</asp:Label><%--false--%>
                                                </td>
                                                <td > <%--class="ctlBlotterPaddingRight"--%>
                                                    <asp:DropDownList ID="ddlRMDealing" runat="server" CssClass="ddl" Width="190px" Visible="false">
                                                        <%--false--%>
                                                    </asp:DropDownList>
                                                </td>

                                                <td class="lblBlotterPaddingRight">
                                                    <asp:Label ID="lblLogin" runat="server" Visible="false">Login Name</asp:Label><%--false--%>

                                                </td>
                                                <td  colspan="3"> <%--class="ctlBlotterPaddingRight"--%>
                                                    <asp:DropDownList ID="ddlLoginName2" runat="server" AutoPostBack="True" Visible="false" Width="190px" CssClass="ddl">
                                                        <%--false--%>
                                                    </asp:DropDownList>
                                                </td>
                                            </tr>
                                            <tr>

                                                <td class="lblBlotterPaddingRight ">
                                                    <asp:Label ID="LblProduct" runat="server" CssClass="lbl" Visible="false">Product</asp:Label><%--false--%>
                                                </td>
                                                <td > <%--class="ctlBlotterPaddingRight"--%>
                                                    <asp:TextBox ID="TxtProduct" runat="server" Width="190px" Visible="false"></asp:TextBox>
                                                    <%--false--%>
                                                </td>
                                                <td class="lblBlotterPaddingRight ">
                                                    <asp:Label ID="LblPhNo" runat="server" CssClass="lbl" Visible="false">Phone No</asp:Label><%--false--%>
                                                </td>
                                                <td  colspan="3"> <%--class="ctlBlotterPaddingRight"--%>
                                                    <asp:TextBox ID="TxtBxPhNo" runat="server" Width="190px" Visible="false"></asp:TextBox><%--false--%>
                                                </td>

                                            </tr>
                                            <tr>
											<%--<Changed by Mayuri C on 09-Mar-2021 for Jira UBP_Internal UBPINT 467 Login Default Setting -When clicked on Add new Extra login details table is loading || Informed by Nitin N>--%>
                                                         <td colspan="7">
                                                             <table>
                                                                 <tr>
                                                                     <td class="paddingRight">
                                                                              <asp:Button ID="btnAdd" runat="server" CssClass="btn" Text="Add New" Width="70px" 
                                                        TabIndex="12" CommandName="Add" />
                                             
                                                                     </td>
                                                                     <td class="paddingRight">
                                                                           <asp:Button ID="btnupdate" runat="server" CssClass="btn" Text="Edit"
                                                        Width="70px" /><%--false--%>
                                                                     </td>
                                                                     <td class="paddingRight">

                                                    <asp:Button ID="btnsave" runat="server" CssClass="btn" Text="Save"
                                                        Width="70px" TabIndex="13" />
                                               
                                                                     </td>
                                                                     <td class="paddingRight">
                 
                                             
                                                    <asp:Button ID="btncancel" runat="server" CssClass="btn" Text="Cancel"
                                                        Width="70px" TabIndex="14" />
                                                                     </td>
                                                                     <td class="paddingRight">
                                                                             
                                                    <asp:Button ID="btnLoad" class="btn" runat="server" Text="Load" Width="70px" />
                                                                     </td>
                                                                     <td class="paddingRight">
                                                                         
                                                                 <asp:ImageButton ID="btnExport" runat="server" ImageUrl="../App_Resources/Export2Excel.png" />  
                                             
                                                                     </td>
                                                            <td style="padding-right: 4px;">
                                                                         
                                                                <asp:Label ID="lblRowsPerPage" runat="server" CssClass="lbl" Text="Record(s) Per Page"
                                                                    Width="115px"></asp:Label>
                                                            </td>
                                                            <td>
                                                                <asp:TextBox ID="txtRowsPerPage" MaxLength="2" runat="server" CssClass="txt" Style="text-align: center;" Text="" Width="30px" onkeydown="EnterKeyEvent(event)" AutoPostBack="true" OnKeyPress=" return AllowNumericOnly(this);"></asp:TextBox>
                                                                     </td>
                                                                 </tr>
                                                             </table>                                                                            
                                                            </td>
															<%--	<Changed by Mayuri C on 09-Mar-2021 for Jira UBP_Internal UBPINT 467 Login Default Setting -When clicked on Add new Extra login details table is loading || Informed by Nitin N>--%>
                                                        </tr>

                                            <tr>
                                                <td class="lblBlotterPaddingRight ">
                                                    <asp:Label ID="LblOfficeNo" runat="server" CssClass="lbl" Visible="false">Office No</asp:Label><%--false--%>
                                                </td>
                                                <td > <%--class="ctlBlotterPaddingRight"--%>
                                                    <asp:TextBox ID="TxtBxOfficeNo" CssClass="txt" runat="server" Width="190px" Visible="false"></asp:TextBox>
                                                    <%--false--%>
                                                </td>
                                                <td class="lblBlotterPaddingRight ">
                                                    <asp:Label ID="LblEmail" runat="server" CssClass="lbl" Visible="false">EmailID</asp:Label><%--false--%>
                                                </td>
                                                <td  colspan="3"> <%--class="ctlBlotterPaddingRight"--%>
                                                    <asp:TextBox ID="TxtBxEmail" runat="server" Width="190px" Visible="false"></asp:TextBox><%--false--%>
                                                </td>
                                            </tr>

                                            <tr>



                                                <td class="lblBlotterPaddingRight">

                                                    <asp:Label ID="lblBook" runat="server" CssClass="lbl" Visible="false">Book<span style="color: #FF0000">*</asp:Label><%--false--%>
                                                </td>
                                                <td  colspan="5"> <%--class="ctlBlotterPaddingRight"--%>
                                                    <asp:DropDownList ID="ddlBook" runat="server" CssClass="ddl" Width="190px" TabIndex="7" Visible="false">
                                                        <%--false--%>
                                                    </asp:DropDownList>

                                                </td>
                                            </tr>
                                            <tr>

                                                <td > <%--class="ctlBlotterPaddingRight"--%>

                                                    <asp:TextBox ID="txt_maturity2" runat="server" CssClass="txt" Enabled="False" Visible="false"
                                                        Width="0px">
                                                    </asp:TextBox>
                                                </td>

                                                <td  colspan="5"> <%--class="ctlBlotterPaddingRight"--%>
                                                    <asp:TextBox ID="txt_notional2" runat="server" CssClass="txt" Visible="False" Width="190px"
                                                        MaxLength="40"></asp:TextBox>

                                                </td>
                                            </tr>


                                            <tr>
                                                <td></td>
                                                <td>
                                                    <%-- changed by aditti on 13-oct-14--%>





                                                    <%--  <td>--%>

                                                    <asp:Button ID="btnSetPageSize" runat="server" Style="display: none"></asp:Button>
                                                    <%--</td>--%>
                                                    <td>
                                                        <input id="hdnCustomerID" style="width: 32px; height: 22px" type="hidden" size="1"
                                                            name="Hidden1" runat="server" visible="false">
                                                        <input id="hdnRM" style="width: 32px; height: 22px" type="hidden" size="1" runat="server" visible="false">
                                                        <%-- <input id="btnSelect" style="width: 0px; height: 0px" type="button" value="Button"
                                                                    runat="server">--%>
                                                        <input id="hdnCustomerCount" style="width: 24px; height: 22px" type="hidden" size="1"
                                                            name="Hidden1" runat="server" visible="false">

                                                        <input id="hdntxtID" style="width: 32px; height: 22px" type="text" size="1"
                                                            name="Hidden1" runat="server" visible="false">
                                                        <asp:Label ID="lblColor" runat="server"> Color Scheme</asp:Label>
                                                        <asp:DropDownList ID="ddlColorScheme" runat="server" AutoPostBack="True" CssClass="ddl"
                                                            Width="200">
                                                        </asp:DropDownList>
                                                    </td>
                                                </td>
                                            </tr>
                                            <%--<tr>
                                                            <td class="auto-style2">&nbsp;
                                                            </td>
                                                            <td class="lbl">
                                                                <%-- *Double click on row to edit--%>
                                            <%--</td>
                                                            <td class="lbl">&nbsp;
                                                            </td>
                                                        </tr>--%>
                                            <%--  </table>
                                                </td>
                                            </tr>--%>
                                        </table>
                                    </td>
                                </tr>

                            </table>
                        </td>
                    </tr>
                    <tr>

                        <td>
                            <asp:Label ID="Label1" runat="server" CssClass="lbl" Style="margin-left: 6px; font-family: verdana !important; font-size: 13px; margin-left: 2px !important;">Login Details</asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td style="height: 4px;"></td>
                    </tr>
                    <tr>
                        <td>
                            <table>
                                <tr>
                                    <td>
                                        <%-- changed by aditti on 29-oct-14--%>
                                        <% Dim scrollPosURL As String = "ScrollPos.htc"%>
                                        <div persistid="<%= saveScrollPos.UniqueID %>" scrollpos="<%= saveScrollPos.value %>"
                                            style="behavior: url(<%= ResolveURL(scrollPosURL)%>); overflow: auto; width: 100%; height: auto">
                                            <asp:DataGrid ID="DgLoginDefaultSetting" runat="server" AutoGenerateColumns="False"
                                                CssClass="Grid" DataKeyField="ID"
                                                AllowPaging="True">
                                                <%--PageSize="5"--%>
                                                <SelectedItemStyle CssClass="GridItemSelect" />
                                                <ItemStyle CssClass="GridItem" />
                                                <HeaderStyle CssClass="GridHeader" />
                                                <FooterStyle CssClass="GridFooter" />
                                                <PagerStyle CssClass="GridPager" />
                                                <Columns>
                                                    <asp:TemplateColumn HeaderText="ID">
                                                        <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                                        <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Wrap="False" Width="60px" />
                                                        <ItemTemplate>
                                                            <asp:LinkButton ID="lnkbtn" runat="server" CommandName="Select" Text='<%# DataBinder.Eval(Container, "DataItem.ID") %>'>
                                                            </asp:LinkButton>
                                                        </ItemTemplate>
                                                    </asp:TemplateColumn>

                                                    <asp:BoundColumn DataField="ObjectName" HeaderText="Object Name">
                                                        <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                                        <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" Wrap="False" />
                                                    </asp:BoundColumn>
                                                    <asp:BoundColumn DataField="DepoCcy" HeaderText="Deposit Ccy">
                                                        <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="30px" />
                                                        <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Wrap="False" />
                                                    </asp:BoundColumn>
                                                    <asp:BoundColumn DataField="AltCcy" HeaderText="Alternate Ccy">
                                                        <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="30px" />
                                                        <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Wrap="False" />
                                                    </asp:BoundColumn>
                                                    <asp:BoundColumn DataField="Maturity" HeaderText="Maturity">
                                                        <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                                        <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Wrap="False" />
                                                    </asp:BoundColumn>
                                                    <asp:BoundColumn DataField="Notional" HeaderText="Notional">
                                                        <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                                        <ItemStyle HorizontalAlign="Right" VerticalAlign="Middle" Wrap="False" />
                                                    </asp:BoundColumn>
                                                    <asp:BoundColumn DataField="Customer" HeaderText="Customer">
                                                        <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="250px" />
                                                        <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" Wrap="False" Width="250px" />
                                                    </asp:BoundColumn>
                                                    <asp:BoundColumn DataField="Dealer" HeaderText="Dealer">
                                                        <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                                        <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" Wrap="False" />
                                                    </asp:BoundColumn>
                                                    <asp:BoundColumn DataField="Book" HeaderText="Book">
                                                        <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                                        <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" Wrap="False" />
                                                    </asp:BoundColumn>
												<%-- Start:  Added By Prajakta for ANZ 4.7 upgrade--%>
                                                      <asp:BoundColumn DataField="LoginName" HeaderText="Login Name">
                                                        <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                                        <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" Wrap="False" />
                                                    </asp:BoundColumn>
													<%-- End:  Added By Prajakta for ANZ 4.7 upgrade--%>
                                                     <asp:BoundColumn DataField="EntityName" HeaderText="Entity">
                                                        <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                                        <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" Wrap="False" />
                                                    </asp:BoundColumn>
                                                    <asp:TemplateColumn HeaderText="Delete" HeaderStyle-HorizontalAlign="Center" HeaderStyle-VerticalAlign="Middle">
                                                        <ItemStyle HorizontalAlign="Center" />
                                                        <ItemTemplate>
                                                            <asp:LinkButton ID="lnkdelete" runat="server" CommandName="Delete_Record" OnClientClick="return confirmationDialog(this, 'Confirmation', '\n Are you sure you want to Delete the Record(s) ?');">D</asp:LinkButton>
                                                        </ItemTemplate>
                                                    </asp:TemplateColumn>

                                                    <%--Ask for visibility ashwini on 17-Oct-2015--%>
                                                    <%-- <asp:BoundColumn DataField="LoginName" HeaderText="Login Name" Visible="false">
                                                        <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                                        <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" Wrap="False" />
                                                    </asp:BoundColumn>--%>

                                                    <%--  Added By Anuja on 05-Feb-2015 :BBL : Config : Login Default Setting --%>
                                                    <asp:BoundColumn DataField="Product" HeaderText="Product" Visible="false">
                                                        <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                                        <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" Wrap="False" />
                                                    </asp:BoundColumn>
                                                    <asp:BoundColumn DataField="PhoneNo" HeaderText="Phone No" Visible="false">
                                                        <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                                        <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" Wrap="False" />
                                                    </asp:BoundColumn>
                                                    <asp:BoundColumn DataField="OfficeNo" HeaderText="Office No" Visible="false">
                                                        <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                                        <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" Wrap="False" />
                                                    </asp:BoundColumn>
                                                    <asp:BoundColumn DataField="EmailId" HeaderText="EmailId" Visible="false">
                                                        <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                                        <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" Wrap="False" />
                                                    </asp:BoundColumn>
                                                    <asp:BoundColumn DataField="CustomerId" HeaderText="CustomerId" Visible="false">
                                                        <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                                        <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" Wrap="False" />
                                                    </asp:BoundColumn>
                                                    <%--Commented by AShwini on 17-Oct-2015--%>
                                                    <%--<asp:BoundColumn DataField="SpotRate" Visible="False"></asp:BoundColumn>--%>

                                                    <%--   <asp:BoundColumn DataField="ColorTheme" HeaderText="Color Scheme" Visible="false">
                                                        <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                                                        <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Wrap="False" />
                                                    </asp:BoundColumn>--%>
                                                    <%--<asp:TemplateColumn>
                                                        <ItemTemplate>
                                                            <asp:LinkButton ID="lnkdelete" runat="server" CommandName="Delete_Record" OnClientClick="return confirmationDialog(this, 'Confirmation', 'Do you want to continue?');">D</asp:LinkButton>
                                                        </ItemTemplate>
                                                    </asp:TemplateColumn>--%>
                                                </Columns>
                                                <PagerStyle Mode="NumericPages" Width="100%"></PagerStyle>
                                            </asp:DataGrid>
                                        </div>
                                    </td>
                                </tr>
                            </table>
                            <asp:TextBox ID="txt_tag" runat="server" Visible="False"></asp:TextBox>
                            <input id="saveScrollPos" runat="server" name="saveScrollPos" type="hidden">
                                <input id="txthpsid" runat="server" name="Hidden1" type="hidden">
                                    <input id="hdnStoreIDFieldsInLRCMappingTables" runat="server" type="hidden"></input>
                                </input>
                            </input>
                            </input> </input> </input>
                        </td>
                    </tr>
                </table>
            </div>
            <asp:HiddenField ID="hdnRowPerPage" runat="server" />
            <asp:HiddenField ID="hdnMode" runat="server" /><%--   Added By Prajakta for ANZ 4.7 upgrade--%>
        </ContentTemplate>
        <Triggers>
            <asp:PostBackTrigger ControlID="btnExport" />
        </Triggers>
    </asp:UpdatePanel>
</asp:Content>
