<%@ page title="Screen Functionality Bulk Entry" language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_CustomerSupport_ScreenFunctionalityBulkEntry, App_Web_uc3mgqpz" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Src="~/UserControls/Common/ScreenGroup/SuperAdminScreenGroup.ascx" TagName="SuperAdminScreenGroupControl" TagPrefix="SuperAdminScreenGroup" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="ResonMasterUpdatePanel" runat="server" UpdateMode="Always">
        <ContentTemplate>
            <div id="divContentPage" class="divcontentpagemargin">
                <asp:HiddenField ID="IdHiddenField" runat="server" />
                <asp:HiddenField ID="MaxRowHiddenField" runat="server" />
                <asp:HiddenField ID="ModeHiddenField" runat="server" />

                <div class="dashBoardLeftCont">
                    <div class="himssuHeader3WireBox">
                        <table>
                            <tr>
                                <td>
                                    <div class="himsBoxContent">
                                        <div class="leftUlMenu">
                                            <SuperAdminScreenGroup:SuperAdminScreenGroupControl EnableViewState="true" ID="SuperAdminScreenGroupControl"
                                                ScreenGroupId="153" Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="row whiteboxpaddingleft">
                    <div class="himssuHeader1WireBox card card-box" id="DetailDiv" runat="server" visible="true">
                        <div class="himsBoxContent card-body">
                            <div class="contentHolder">
                                <div class="tableContainer">
                                    <div class="contentHolder">
                                        <asp:HiddenField ID="ScreenFunctionalityId" runat="server" />
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="ModuleLabel" runat="server" Text="Module" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="ModuleDropDownList" OnSelectedIndexChanged="ModuleDropDownList_SelectedIndexChanged" runat="server" CssClass="form-control"
                                                    onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" AutoPostBack="true"
                                                    meta:resourcekey="ModuleDropDownListResource1">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <br />
                                    </div>
                                </div>

                                <div class="himssuHeader6WireBox pTop5 col-md-12 gridviewfont" id="PatientRelationDiv"
                                    runat="server">
                                    <div class="himsBoxContent">        
                                        <asp:GridView ID="ScreenFunctionalityGridView" AutoGenerateColumns="False" EmptyDataText="No Screen available"
                                           CssClass="table table-striped table-bordered" Width="100%"   DataKeyNames="Id"
                                            runat="server" meta:resourcekey="TasksGridViewResource1">
                                            <Columns>
                                                <asp:TemplateField>
                                                    <HeaderTemplate>
                                                        <label class="rt-chkbox rt-chkbox-outline">
                                                            <asp:CheckBox ID="HeaderIsSelectCheckBox" onclick="CheckAll(this);" runat="server" OnCheckedChanged="HeaderIsSelectCheckBox_CheckedChanged" AutoPostBack="true" />
                                                            <span></span>
                                                        </label>
                                                    </HeaderTemplate>
                                                    <HeaderStyle HorizontalAlign="Center" />
                                                    <ItemStyle HorizontalAlign="Center" Width="8%" />
                                                    <ItemTemplate>
                                                        <label class="rt-chkbox rt-chkbox-outline">
                                                            <asp:CheckBox ID="IsSelectCheckBox" runat="server"  OnCheckedChanged="IsSelectCheckBox_CheckedChanged" AutoPostBack="true"  Checked="false"/>
                                                            <span></span>
                                                        </label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Screen Id" Visible="false">
                                                    <ItemTemplate>
                                                        <asp:Label ID="ScreenIdLabel" runat="server" Text='<%# Eval("ScreenId") %>' meta:resourcekey="ScreenIDLabelResource1"></asp:Label>
                                                    </ItemTemplate>
                                                    <ItemStyle HorizontalAlign="Left" Width="10%" />
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Screen Title" ItemStyle-Width="20%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                    <ItemTemplate>
                                                        <asp:Label ID="ScreenLabel" runat="server" CssClass="boxEllips" ToolTip='<%#Bind("ScreenTitle")%>'
                                                            Text='<%#Bind("ScreenTitle")%>'></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>    
                                                <asp:TemplateField HeaderText="Functionality" ItemStyle-Width="20%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                    <ItemTemplate>
                                                         <asp:TextBox ID="FunctionalityTextBox" runat="server" CssClass="boxEllips" Text='<%# Bind("Screenfunctionality") %>' ></asp:TextBox> 
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                        </asp:GridView>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </ContentTemplate>  
    </asp:UpdatePanel>
      <script data-main="../../JavaScript/rjs/circular" src="../../JavaScript/rjs/require.js"></script>
</asp:Content>
