<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="FrmAllTabNameList_FXD.aspx.vb" Inherits="FinIQWebApp.FrmAllTabNameList_FXD" MaintainScrollPositionOnPostback="true" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link href="../../App_Themes/Style1.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" href="../../FinIQJS/jquery-ui.min.css" />

    <script lang="javascript" type="text/javascript" src="../FinIQJS/FinIQCommon.js"></script>
     <script type="text/javascript">
                function txtTradeKeydown(e) {
            
                 _doPostBack("txtUserSearch", "TextChanged");
             
         }
     </script>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <div id="divID" style="height: 740px; width: 250px;">
            <table id="tblTabName" style="width: 100%; height: auto; overflow: auto;" runat="server">
                <tr>
                    <td>
                        <asp:Label ID="lblerror" runat="server" ForeColor="Red" CssClass="lblError"></asp:Label>
                    </td>
                </tr>
               
                <tr>
                    <td style="padding-bottom: 5px; padding-left: 10px; padding-top: 5px;">
                        <asp:Button CssClass="btn" ID="btnTabApply" runat="server" Text="Apply" Width="80px" />
                    </td>

                </tr>
                <tr>
                    <td style="padding-left: 7px">
                        <asp:CheckBox ID="chkAllTabList" Text="Select All" runat="server" AutoPostBack="true" />
                    </td>

                </tr>

                <tr>
                    <td>
                        <div style="height: 740px; margin-left: 10px;">
                            <asp:GridView ID="GridAllTabDetails" runat="server" AutoGenerateColumns="false" ShowHeader="false" HeaderStyle-CssClass="GridHeaderTitle" EmptyDataText="No Records Found">
                                <%-- <SelectedRowStyle CssClass="GridItemSelect"></SelectedRowStyle>
                            <HeaderStyle HorizontalAlign="Center" CssClass="GridHeader" VerticalAlign="Middle"></HeaderStyle>
                             <RowStyle BorderStyle="None" CssClass="GridItem1" />--%>

                                <SelectedRowStyle CssClass="GridItemSelect" />
                                <RowStyle CssClass="GridItem" BorderStyle="None" />
                                <HeaderStyle CssClass="GridHeader" />
                                <FooterStyle CssClass="GridFooter" />
                                <PagerStyle CssClass="GridPager" />

                                <Columns>
                                    <asp:TemplateField>
                                        <ItemTemplate>
                                            <asp:CheckBox ID="chkTabList" runat="server" AutoPostBack="true" OnCheckedChanged="chkTabList_CheckedChanged" />
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:BoundField DataField="Field_Name" HeaderText="Field Name"/>
                                    <asp:BoundField DataField="Display_Name" HeaderText="Display Name" />
                                </Columns>
                            </asp:GridView>
                        </div>


                    </td>
                </tr>
            </table>
            <table id="tblWFL" runat="server">
                <tr>
                    
                     <td>
                        <asp:DropDownList ID="ddlWorkflowType" CssClass="ddl colGrid" runat="server" OnSelectedIndexChanged="ddlWorkFlow_SelectedIndexChanged"  AutoPostBack="true" Enabled="true"  />
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="lblWFLerror" runat="server" ForeColor="Red" CssClass="lblError"></asp:Label>
                    </td>
                </tr>
                 <tr>
                     <%--Added by TejaswiniB on 1-Feb-2020 :UBPINT-76--%>
                    <td>
                        <asp:TextBox ID="txtUserSearch" Width="200px" Visible="false" AutoPostBack ="true" placeholder="Search User" runat="server"  onkeydown="return txtTradeKeydown(event)"></asp:TextBox>

                    </td>
                
                </tr>
                <tr>
                    <td>
                        <asp:Button ID="btnSelect" CssClass="btn" runat="server" Text="Apply" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:CheckBox ID="chkAllWFL" Text="Select All" runat="server" AutoPostBack="true" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:CheckBoxList ID="chkWFLlist" runat="server">
                        </asp:CheckBoxList>
                    </td>
                </tr>
            </table>
            <asp:HiddenField ID="hdnSelectedTabNames" runat="server" />
            <asp:HiddenField ID="hdnpreviousTabs" runat="server" />
            <asp:HiddenField ID="hdnSelectedWFLName" runat="server" />
            <asp:HiddenField ID="hdnWFLPrevious" runat="server" />
            <asp:HiddenField ID="hdnVisibilityMap" runat="server" />
            <asp:HiddenField ID="hdnUserGroupsMap" runat="server" />
        </div>
        
<%--<input type="hidden" id="position" name="position" />--%>
    </form>
</body>
</html>
