<%@ page title="My eContent" language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Communication_MyeContent, App_Web_yitrogwh" uiculture="auto" meta:resourcekey="PageResource1" 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" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl" TagPrefix="Date" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="HREmployeeMasterSearchUpdatePanel" runat="server">
        <ContentTemplate>
            <div id="divContentPage" class="divcontentpagemargin">

                <div class="dashBoardLeftCont" runat="server" id="ScreenGroupTableId" visible="true">
                    <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="himssuHeader1WireBox card card-box">
                        <div class="himsBoxHeader card-head" id="Div4" runat="server" visible="True">
                            <div class="leftdiv">
                            </div>
                            <div class="himsBoxTitle">
                                <div class="headerText fLeft">
                                    <header>
                                        <i class="fas fa-list-ul"></i>
                                        <asp:Label ID="Label4" Text="My eContent" runat="server" />
                                    </header>
                                </div>
                            </div>
                        </div>
                        <div class="himsBoxContent card-body">
                            <asp:Panel ID="DetailPanel" runat="Server">
                                <div class="contentHolder">
                                    <div class="himssuHeader6WireBox col-md-12">
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="AssigneeLabel" Text="eContent Type" runat="server"></asp:Label>
                                            </div>
                                            <div class="">
                                                <asp:DropDownList ID="eContentTypeDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                    onmouseenter="showHideTooltip()" AutoPostBack="True" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="Label1" Text="Title" runat="server"></asp:Label>
                                            </div>
                                            <div class="">
                                                <asp:TextBox ID="TitleTextBox" runat="server"></asp:TextBox>
                                            </div>
                                        </div>
                                        <div class="cBoth">
                                        </div>
                                        <div class="alignCenter pTop5">
                                            <asp:Button ID="SearchButton" runat="Server"
                                                SkinID="0" CssClass="btn-search btn fas" Text="&#xf002; Search" OnClick="SearchButton_Click" />
                                            <asp:Button ID="ResetButton" runat="server" Text="&#xf0e2; Reset" CssClass="btn-reset btn fas" SkinID="0" OnClick="ResetButton_Click" />
                                        </div>
                                        <div class="himsBoxContent card-body table-responsive">
                                            <asp:GridView runat="server" ID="eContentGridView" AutoGenerateColumns="False"
                                                EmptyDataText="No records available for the seacrh criteria!" OnRowDataBound="eContentGridView_RowDataBound"
                                                AllowPaging="False"
                                                ShowHeader="true" meta:resourcekey="CircularListGridViewResource1" CssClass="table table-striped table-bordered table-hover" d>
                                                <Columns>
                                                    <asp:BoundField DataField="SourceType" HeaderText="Source Type" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left" />
                                                    <asp:BoundField DataField="Source" HeaderText="Source" ItemStyle-Width="20%" HeaderStyle-HorizontalAlign="Left" />
                                                    <asp:BoundField DataField="Assignee" HeaderText="Assigned To" ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left" />
                                                    <asp:BoundField DataField="eContentType" HeaderText="eContent Type" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left" />
                                                    <asp:BoundField DataField="eContentTitle" HeaderText="Title" ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Left" />
                                                    <asp:BoundField DataField="eContentRemark" HeaderText="Remark" ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Left" />
                                                    <asp:BoundField DataField="SubjectName" HeaderText="Subject" ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Left" />
                                                    <asp:TemplateField HeaderText="Path Name" ItemStyle-Width="30%" ItemStyle-HorizontalAlign="Left" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                        <ItemTemplate>
                                                            <asp:HyperLink ID="Link" href='<%# Eval("PathName") %>' runat="server" Text='<%# Eval("PathName") %>' Target="_blank" />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderStyle-HorizontalAlign="Center" HeaderText="Created Date" ItemStyle-Width="8%">
                                                        <ItemStyle HorizontalAlign="Center" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="CreatedDateTime" runat="server" Text='<%#Eval("CreatedDateTime") %>'></asp:Label>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                </Columns>
                                                <PagerSettings Visible="False" />
                                            </asp:GridView>
                                        </div>
                                    </div>

                                </div>
                            </asp:Panel>
                        </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>
