<%@ page title="" language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Assessment_ActivityIndicatorMaster, App_Web_sp1zc2i5" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager" TagPrefix="uc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="OTQueueListingUpdatePanel" runat="server">
        <ContentTemplate>
              <div id="divContentPage" class="divcontentpagemargin">
                <!-- ContentPlaceHolder Box Starts -->
               
                            <div class="dashBoardLeftCont">
                                <div class="himssuHeader3WireBox">
                                                <div class="himsBoxContent">
                                                    <div class="leftUlMenu">
                                                        <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="170"
                                                            Visible="true" runat="server" />
                                                    </div>
                                                </div>
                                </div>
                            </div>
                            <div class="whiteboxpaddingleft row">
                                <div class="himssuHeader1WireBox card card-box">
                                    <div class="himsBoxHeader card-head">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="headerText">
                                                <header>
                                                    <i class="fas fa-chess-king"></i>
                                                    <asp:Label ID="Label1" runat="server" Text="Activity Indicator Master"></asp:Label>
                                                </header>
                                                
                                            </div>
                                        </div>
                                    </div>


                                    <div class="himsBoxContent card-body">
                                        <asp:Panel ID="DetailPanel" runat="Server">
                                            <div class="contentHolder">
                                              
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controLabelWidth">
                                                        <asp:Label ID="CSGroupLabel" Text="Activity Group" runat="server"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList runat="server" ID="ActivityGroupMasterDropDownList" SkinID="CustomWidthDropDownList"
                                                            class="form-control" onmouseleave="showHideTooltip()"
                                                            onmouseenter="showHideTooltip()" AutoPostBack="True"
                                                            OnSelectedIndexChanged="ActivityGroupMasterDropDownList_SelectedIndexChanged">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>

                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controLabelWidth">
                                                        <asp:Label ID="CALabel" Text="Activity" runat="server"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList runat="server" ID="ActivityMasterDropDownList" SkinID="CustomWidthDropDownList"
                                                            class="form-control" onmouseleave="showHideTooltip()"
                                                            onmouseenter="showHideTooltip()" AutoPostBack="True"
                                                            OnSelectedIndexChanged="ActivityMasterDropDownList_SelectedIndexChanged">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>

                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="fLeft pRight5">
                                                        <asp:HiddenField ID="DetailHiddenField" runat="server" />
                                                    </div>
                                                </div>
                                                <div id="Div1" class="himssuHeader6WireBox col-md-12 pb5 mt2" runat="server" visible="true" >
                                                    <div class="himsBoxHeader card-head inner" id="GridViewPagerDiv" runat="server" visible="True">
                                                        
                                                        <div class="leftdiv"></div>

                                                        <div class="himsBoxTitle">
                                                            <div class="headerText">
                                                                
                                                            </div>
                                                            <div class="fRight display-flex" style="margin-top:-30px">
                                                                <asp:DropDownList ID="AddRowsToGridDropDownList" runat="server" SkinID="CustomWidthDropDownList" class="form-control" AutoPostBack="false">
                                                                    <asp:ListItem Text="1" Value="0" Selected="True"></asp:ListItem>
                                                                    <asp:ListItem Text="5" Value="5"></asp:ListItem>
                                                                    <asp:ListItem Text="10" Value="10"></asp:ListItem>
                                                                    <asp:ListItem Text="15" Value="15"></asp:ListItem>
                                                                </asp:DropDownList>
                                                                &nbsp; &nbsp; <asp:Button ID="AddButton" runat="server"  OnClick="AddButton_Click" SkinID="0"
                                                                    class="btn btn-add fas" Text="&#xf067; Add"   />
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="himsBoxContent">
                                                        <div class="table-responsive">
                                                        <asp:GridView ID="CSMasterGridView" runat="server"  AutoGenerateColumns="False"
                                                            EmptyDataText="No Records Found !!"
                                                            AllowPaging="false" ShowHeader="True"
                                                            DataKeyNames="Id,Index,ActivityId" OnRowDataBound="CSMasterGridView_RowDataBound"
                                                            CssClass="table table-striped table-bordered">
                                                            <Columns>

                                                                <asp:BoundField DataField="Id" HeaderText="Id" Visible="false"></asp:BoundField>
                                                                <asp:BoundField DataField="Index" HeaderText="Index" Visible="false"></asp:BoundField>
                                                                <asp:BoundField DataField="ActivityId" HeaderText="CCECSId" Visible="false"></asp:BoundField>

                                                                <asp:TemplateField HeaderText="Number" ItemStyle-Width="10%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:TextBox ID="NumberTextBox" runat="server" SkinID="CustomWidthTextBox" Width="100px"
                                                                            MaxLenght="5" onblur="javascript:return fnValidateDecimal(this,5,2)" onKeypress="javascript:return MaskDecimal(event,5,2)"
                                                                            Text='<%# DataBinder.Eval(Container.DataItem,"Number").ToString()=="0"? "":Eval("Number") %>'> </asp:TextBox>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>

                                                                <asp:TemplateField HeaderText="Indicator" ItemStyle-Width="25%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:TextBox ID="TitleTextBox" runat="server" SkinID="CustomWidthTextBox" Width="350px" MaxLength="100" Text='<%# Bind("Title") %>'></asp:TextBox>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>

                                                                <asp:TemplateField HeaderText="OrderIndex" ItemStyle-Width="12%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                    <ItemTemplate>
                                                                        <asp:TextBox ID="OrderIndexTextBox" runat="server" SkinID="CustomWidthTextBox" Width="125px"
                                                                            MaxLength="5" onblur="javascript:return fnValidateDecimal(this,10,2)" onKeypress="javascript:return MaskDecimal(event,10,2)"
                                                                            Text='<%# DataBinder.Eval(Container.DataItem,"OrderIndex").ToString()=="0"? "":Eval("OrderIndex") %>'></asp:TextBox>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>

                                                                <asp:TemplateField ShowHeader="true" HeaderText="Delete" HeaderStyle-HorizontalAlign="Center">
                                                                    <ItemTemplate>
                                                                        <asp:ImageButton SkinID="DeleteImage" ID="DeleteImageButton" runat="server" OnClick="DeleteImageButton_Click"
                                                                            ToolTip="Delete" ImageUrl="../../../Images/icons/icon_delete.gif"/>
                                                                    </ItemTemplate>
                                                                    <ItemStyle HorizontalAlign="Center" Width="7%" />
                                                                </asp:TemplateField>

                                                            </Columns>
                                                            <PagerSettings Visible="False" />
                                                        </asp:GridView>
                                                            </div>
                                                        <%--  </div>--%>
                                                    </div>
                                                </div>
                                            </div>
                                        </asp:Panel>
                                    </div>
                                </div>

                            

                            </div>
                     
                    <%--HEDP History Ends Here--%>
                </div>
           
            
        </ContentTemplate>
    </asp:UpdatePanel>    
  <%--  <script data-main="../../../JavaScript/rjs/encrypt/activity-indicatormaster-encrypt" src="../../../JavaScript/rjs/require.js"></script>--%>
      <script data-main='<%=ResolveUrl("~/JavaScript/rjs/activity-indicatormaster")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>

