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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager" TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl" TagPrefix="ScreenGroup" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="IncidentLogUpdatePanel" runat="server" UpdateMode="Always">
        <ContentTemplate>
            <div id="divContentPage" class="divcontentpagemargin">
               
                            <div class="dashBoardLeftCont">
                                <div class="himssuHeader3WireBox">                                    
                                    <table>
                                        <tr>
                                            <td>
                                                <div class="himsBoxContent">
                                                    <div class="leftUlMenu">
                                                        <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="114"
                                                            Visible="true" runat="server" />
                                                    </div>
                                                </div>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </div>
                            <div class="whiteboxpaddingleft row">
                                <div class="himssuHeader2WireBox card card-box">
                                    <div class="contentHolder">
                                        <div class="himssuHeader5WireBox">
                                            <div class="himsBoxHeader card-head">
                                                <div class="leftdiv">
                                                </div>
                                                <div class="himsBoxTitle">
                                                    <div class="headerText">
                                                        <header>
                                                            <i class="fas fa-eye"></i>
                                                        <asp:Label ID="Label1" runat="server" Text="Link Viewer "></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="controlLabelWidth">
                                                                <asp:Label ID="SearchNameLabel" runat="server" Text="Name"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:TextBox ID="SearchNameTextBox" runat="server" onmouseleave="showHideTooltip()" SkinID="CustomWidthTextBox"
                                                                    onmouseenter="showHideTooltip()" MaxLength="50"></asp:TextBox>
                                                            </div>
                                                        </div>
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="SearchLinkTagLabel" runat="server" Text="Link Tag"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:TextBox ID="SearchLinkTagTextBox" runat="server" onmouseleave="showHideTooltip()" SkinID="CustomWidthTextBox"
                                                                   onmouseenter="showHideTooltip()" MaxLength="100"></asp:TextBox>
                                                            </div>
                                                        </div>
                                                       
                                                        <div class="alignCenter pTop5 col-md-12 center">
                                                            <asp:Button ID="SearchButton" Text="&#xf002; Search" runat="Server" OnClick="SearchButton_Click" SkinID="0" class="btn-search btn fas" />
                                                            <asp:Button ID="ResetButton" runat="server" Text="&#xf0e2; Clear" OnClick="ResetButton_Click" SkinID="0" class="btn-reset btn fas"/>
                                                        </div>
                                                     
                                                        <div id="Div1" class="himssuHeader7WireBox col-md-12" runat="server" visible="true">
                                                            <div id="LinkListDetailDiv" visible="false" runat="server">
                                                                <div class="himsBoxHeader card-head inner" id="LinkListDiv" visible="false" runat="server">
                                                                  
                                                                    <div class="himsBoxTitle" style="width: 99%">
                                                                        <div align="right" class="fRight" style="margin-top: 0px;">
                                                                            <uc1:GridViewPager ID="LinkViewerGridView_GridViewPager" runat="server" ParentGridView="LinkViewerGridView"
                                                                                OnFirstRecordClick="LinkViewerGridView_GridViewPager_FirstRecordClick" OnLastRecordClick="LinkViewerGridView_GridViewPager_LastRecordClick"
                                                                                OnNextRecordClick="LinkViewerGridView_GridViewPager_NextRecordClick" OnPrevRecordClick="LinkViewerGridView_GridViewPager_PrevRecordClick"
                                                                                OnTextBoxValueChange="LinkViewerGridView_GridViewPager_TextBoxValueChange" />
                                                                        </div>
                                                                    </div>
                                                                   <%-- <div class="gridHeaderText">
                                                                    <header>
                                                                    <asp:Label ID="AssignRouteLabel" runat="server" Text="Link Viewer"></asp:Label>
                                                                    </header>
                                                                    </div>--%>
                                                                </div>                                                                
                                                                <div class="himsBoxContent card-body">
                                                                    <div id="Div5" runat="server" visible="false" class="table-responsive">
                                                                        <asp:GridView ID="LinkViewerGridView" runat="server" AutoGenerateColumns="False" 
                                                                            CssClass="table table-striped table-bordered table-hover" EmptyDataText="No Records Found !!" AllowPaging="false"
                                                                            ShowHeader="true">                                                                            
                                                                            <Columns>
                                                                                <asp:BoundField DataField="Id" HeaderText="Id" Visible="false"></asp:BoundField>
                                                                                <asp:BoundField DataField="Name" HeaderText="Name" ItemStyle-Width="30%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                                <asp:BoundField DataField="LinkTag" HeaderText="Link Tag" ItemStyle-Width="20%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                                <asp:TemplateField ItemStyle-HorizontalAlign="Left" ItemStyle-Wrap="true" HeaderText="Path" HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:HyperLink ID="PathLinkButton" runat="server" Text='<%# Bind("Path") %>' NavigateUrl='<%# Bind("Path") %>' Target="_blank"
                                                                                            CausesValidation="false"></asp:HyperLink>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                            </Columns>
                                                                            <PagerSettings Visible="False" />
                                                                        </asp:GridView>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </asp:Panel>
                                            </div>
                                        </div>
                                    </div>
                                </div>                               
                            </div>
                        </tr>
                    </table>
                </div>
            </div>
         
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--<script data-main="../../JavaScript/rjs/encrypt/assign-organization-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/assign-organization")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>