<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="CreateFolders.aspx.vb" Inherits="FinIQWebApp.CreateFoldersGeneric" %>

<!DOCTYPE html>

<html >

    <link href='<%=ResolveClientUrl("~/FinIQJS/jquery-ui.css")%>' rel="stylesheet">
     <script src='<%=ResolveClientUrl("~/FinIQJS/external/jquery/jquery.js")%>'></script>
     <script src='<%=ResolveClientUrl("~/FinIQJS/jquery-ui.js")%>'></script>

<head id="Head1" runat="server">
    <title></title>
     <link href="../App_Themes/Style1.css" rel="stylesheet" type="text/css"/>
    <script src="../FinIQJS/FinIQCommon.js" type="text/javascript"></script>
   

    <script src="RMW.js"></script>
    <style type="text/css">
        .auto-style1
        {
            width: 219px;
        }
        #ddlListType-button,#ddlexistingproductfolders-button
        {
            width:135px !important;
        }
        .lblPadding
        {
            padding-left:14px;
        }
    </style>
    <script type="text/javascript">
        function RefreshParentPage() {
            
            var rowindex = '';
            var url = window.location.search.substring(1);
            var vars = url.split('&');
            for (var i = 0; i < vars.length; i++) {
                var pair = vars[i].split('=');
                if (decodeURIComponent(pair[0]) == 'RowIndex') {
                    decodeURIComponent(pair[1]);
                }
            }
            rowindex = pair[1];
            window.parent.$('#div' + rowindex).slideToggle();
            window.parent.document.getElementById('ctl00_MainContent_hdnPopulateFolders').value = "Y";
            window.parent.document.getElementById('ctl00_MainContent_btnLoad').click();
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">

         <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>

        <asp:UpdatePanel ID="UpdatePanelCP" runat="server">
        <ContentTemplate>

        <asp:Panel ID="PnEditPrice" runat="server" Style="margin-top: 50px;" CssClass="PnEditPrice">  <%-- class added by AniruddhaJ for dark theme || 03-Oct-20211--%>
            <table class="filter" cellpadding="3" cellspacing="3">
                <tr>
                    <td colspan="2" class="background_gray1" align="center">Proposal Maintenance</td>
                  
                        <%--<asp:Button ID="btnCloseFolderPopup" runat="server" Text="X" CssClass="btn" /></td>--%>
                </tr>
                <tr>
                    <td colspan="1" class="auto-style1 ">
                        <asp:Label ID="Label39" runat="server"></asp:Label></td>
                </tr>
                  <tr>
                    <td colspan="1" class="auto-style1 lblPadding" align="left">
                        <asp:Label ID="Label1" runat="server" Text="List Type"></asp:Label>
                    </td>
                      <td style="padding-right:20px" >
                          <asp:DropDownList ID="ddlListType" runat="server" AutoPostBack="true" Width="130px" CssClass="ddl" >
                              <%--<asp:ListItem Text="Private" Value="Private"></asp:ListItem>
                              <asp:ListItem Text="Public" Value="Public"></asp:ListItem>--%>
                          </asp:DropDownList>
                      </td>
                </tr>
                <tr>
                    <td colspan="1" class="auto-style1 lblPadding" align="left" >
                        <asp:Label ID="Label40" runat="server" CssClass="lbl" Text="Existing Proposal"></asp:Label>
                    </td>
                    <td style="padding-right:20px" >
                        <asp:DropDownList ID="ddlexistingproductfolders" runat="server" Width="130px" CssClass="ddl"  AutoPostBack="true">

                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td colspan="1" class="auto-style1 lblPadding"  align="left">
                    <asp:Label ID="lblcreatenewfolder" runat="server" CssClass="lbl" Text="Create New Proposal"></asp:Label></td>
                    <td style="padding-right:20px" ><asp:TextBox ID="txtnewfolder" runat="server" CssClass="txt" Text="" Width="130px" ></asp:TextBox></td>       <%-- Changed by Dashrath on 27-Feb-2018 for WLB bonds. --%>           
                </tr>
                <tr style="height:20px">
                    <td colspan="2" align="center" class="auto-style1">
                        <asp:Label ID="lblmsgproductfolder" runat="server" Text="" CssClass="lblerror"></asp:Label>
                    </td>
                    <td>
                        <asp:Label ID="lblErrorMessage" runat="server" Text="" CssClass="lbl" style="color:red !important"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td align="center" class="auto-style1">
                        <div id="DivApplyCreateFolderLoading" style="position: absolute; top: 168px; left: 629px;"></div>
                    </td>
                    <td>
                        <asp:Button ID="btnSaveFolder" runat="server" CssClass="btn" Text="Save" Width="100px" OnClientClick="ApplyCreateFolderLoading();" />
                    </td>
                </tr>
                <tr>
                    <td></td>
                </tr>
            </table>
        </asp:Panel>

         </ContentTemplate>
    </asp:UpdatePanel>

    </form>
</body>
</html>
