<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="TRN_Event_Master.aspx.vb" MasterPageFile="~/FiniqAppMasterPage.Master" Inherits="FinIQWebApp.Tranche_Event_Master" %>



<asp:Content ID="cont" ContentPlaceHolderID="MainContent" runat="server">
    <link href="../App_Themes/Style1.css" rel="stylesheet" type="text/css" />
    
    <asp:UpdatePanel runat="server">
    <ContentTemplate>
        <table>
            <tr style="padding-bottom:10px"><td>
                     <asp:Button ID="btnAdd" Text="Add" runat="server" Style="width:118px !important" CssClass="btn" /></td>
                   <td> <asp:Button ID="btnRefresh" Text="Refresh" Style="width:118px !important;" runat="server" CssClass="btn" /> </td>
                   <td> <asp:Button ID="btnDeactivate" Text="Deactivate" Style="width:118px !important; " runat="server" CssClass="btn" /> </td>
                   <td> <asp:Button ID="btnSave" Text="Save" runat="server" Style="width:118px  !important" CssClass="btn" /> </td>
                   <td> <asp:Label ID="lblerror" runat="server" ForeColor="red"></asp:Label> <asp:label ID="lblmessage" runat="server" forecolor="#0368B6"></asp:label> </td>
                </td>
                </tr>
            </table>
        <table>
           
            <tr>
                <td>
                    <div>
                        <asp:GridView ID="grdTrancheEventMst" runat="server" AutoGenerateColumns="false" CssClass="Grid" ShowHeaderWhenEmpty="true">
                           <SelectedRowStyle  CssClass="GridItemSelect" />
                <RowStyle  CssClass="GridItem" />
                <HeaderStyle CssClass="GridHeader" />
                <FooterStyle CssClass="GridFooter" />
                <PagerStyle CssClass="GridPager" />
                            <Columns>
                                <asp:TemplateField ItemStyle-HorizontalAlign="Center">
                                    <ItemTemplate>
                                        <asp:CheckBox ID="chk" runat="server" />
                                    </ItemTemplate>
                                    
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="Sr No" ItemStyle-HorizontalAlign="Center">
                                    <ItemTemplate>
                                        <asp:Label ID="lblSrNo" runat="server" Text='<%#Eval("TEM_Id")%>'>
                                        </asp:Label>
                                    </ItemTemplate>
                                    
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="Code" ItemStyle-HorizontalAlign="Center">
                                    <ItemTemplate>
                                        <asp:TextBox ID="txtCode" runat="server" AutoPostBack="true" Text='<%#Eval("TEM_Code")%>'></asp:TextBox>
                                    </ItemTemplate>
                                    
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="Name" ItemStyle-HorizontalAlign="Center">
                                    <ItemTemplate>
                                        <asp:TextBox ID="txtName" runat="server" AutoPostBack="true" Text='<%#Eval("TEM_LongName")%>'></asp:TextBox>
                                    </ItemTemplate>
                                    
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="Payment Y/N" ItemStyle-HorizontalAlign="Center">
                                    <ItemTemplate>
                                        <asp:DropDownList ID="ddlPaymentYN" runat="server" AutoPostBack="true">
                                            <asp:ListItem>Y</asp:ListItem>
                                            <asp:ListItem>N</asp:ListItem>
                                        </asp:DropDownList>
                                    </ItemTemplate>
                                    
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="Confirmation Y/N" ItemStyle-HorizontalAlign="Center">
                                    <ItemTemplate>
                                        <asp:DropDownList ID="ddlConfirmationYN" runat="server" AutoPostBack="true">
                                            <asp:ListItem>Y</asp:ListItem>
                                            <asp:ListItem>N</asp:ListItem>
                                        </asp:DropDownList>
                                    </ItemTemplate>
                                   
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="GLEntry Y/N" ItemStyle-HorizontalAlign="Center">
                                    <ItemTemplate>
                                        <asp:DropDownList ID="ddlGLEntryYN" runat="server" AutoPostBack="true">
                                            <asp:ListItem>Y</asp:ListItem>
                                            <asp:ListItem>N</asp:ListItem>
                                        </asp:DropDownList>
                                    </ItemTemplate>
                                    
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="Same Day Process Y/N" ItemStyle-HorizontalAlign="Center">
                                    <ItemTemplate>
                                        <asp:DropDownList ID="ddlSameDayYN" runat="server" AutoPostBack="true">
                                            <asp:ListItem>Y</asp:ListItem>
                                            <asp:ListItem>N</asp:ListItem>
                                        </asp:DropDownList>
                                    </ItemTemplate>
                                    
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="Termination Y/N" ItemStyle-HorizontalAlign="Center">
                                    <ItemTemplate>
                                        <asp:DropDownList ID="ddlTerminationYN" runat="server" AutoPostBack="true">
                                            <asp:ListItem>Y</asp:ListItem>
                                            <asp:ListItem>N</asp:ListItem>
                                        </asp:DropDownList>
                                    </ItemTemplate>
                                    
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="Active Y/N" ItemStyle-HorizontalAlign="Center">
                                    <ItemTemplate>
                                        <asp:DropDownList ID="ddlActiveYN" runat="server" AutoPostBack="true">
                                            <asp:ListItem>Y</asp:ListItem>
                                            <asp:ListItem>N</asp:ListItem>
                                        </asp:DropDownList>
                                    </ItemTemplate>
                                    
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="Collateralized Deal Payment Y/N" ItemStyle-HorizontalAlign="Center">
                                    <ItemTemplate>
                                        <asp:DropDownList ID="ddlCollDealPaymentYN" runat="server" AutoPostBack="true">
                                            <asp:ListItem>Y</asp:ListItem>
                                            <asp:ListItem>N</asp:ListItem>
                                        </asp:DropDownList>
                                    </ItemTemplate>
                                    
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="Allow Emailing" ItemStyle-HorizontalAlign="Center">
                                    <ItemTemplate>
                                        <asp:DropDownList ID="ddlEmailingYN" runat="server" AutoPostBack="true">
                                            <asp:ListItem>Y</asp:ListItem>
                                            <asp:ListItem>N</asp:ListItem>
                                        </asp:DropDownList>
                                    </ItemTemplate>
                                    
                                </asp:TemplateField>

                                 <asp:TemplateField HeaderText="Created At" ItemStyle-HorizontalAlign="Center">
                                    <ItemTemplate>
                                       <asp:label id="lblCreatedAt" runat="server" Text='<%#Eval("TEM_Created_At")%>'></asp:label>
                                    </ItemTemplate>
                                    
                                </asp:TemplateField>

                                <asp:TemplateField HeaderText="Created By"  ItemStyle-HorizontalAlign="Center">
                                    <ItemTemplate>
                                       <asp:label id="lblCreatedBy" runat="server" Text='<%#Eval("TEM_Created_By")%>'></asp:label>
                                    </ItemTemplate>
                                    
                                </asp:TemplateField>

                                 <asp:TemplateField HeaderText="Updated At"  ItemStyle-HorizontalAlign="Center">
                                    <ItemTemplate>
                                       <asp:label id="lblUpdatedAt" runat="server" Text='<%#Eval("TEM_Updated_At")%>'></asp:label>
                                    </ItemTemplate>
                                    
                                </asp:TemplateField>

                                <asp:TemplateField HeaderText="Updated By" Itemstyle-HorizontalAlign="Center">
                                    <ItemTemplate>
                                        <asp:label id="lblUpdatedBy" runat="server" Text='<%#Eval("TEM_Updated_By")%>'></asp:label>
                                    </ItemTemplate>
                                </asp:TemplateField>
                            </Columns>
                        </asp:GridView>
                    </div>
                </td>
            </tr>
        </table>


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