<%@ page title="" language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_BaseFramework_ParentDashBoard, App_Web_h5def1zn" 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/EmployeeSearch/EmployeeSearch.ascx" TagName="EmployeeSearchControl" TagPrefix="hims" %>
<%@ Register Src="~/UserControls/Common/UserFavoraite/UserFavoraiteScreen.ascx" TagName="UserFavoraiteScreen" TagPrefix="Screen" %>
<%@ Register Src="~/UserControls/Common/UserFavoraite/UserFavoraiteReport.ascx" TagName="UserFavoraiteReport" TagPrefix="Report" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl"
    TagPrefix="Date" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="DoctorScheduleUpdatePanel" runat="server">
        <ContentTemplate>

            <div id="divContentPage" class="divcontentpagemargin">
                <!-- ContentPlaceHolder Box Starts -->
                <div style="width: 100%; padding: 2px; margin: 2px">
                    <table width="100%" border="0" style="vertical-align: top; margin-top: -1px; border-collapse: collapse; " cellpadding="0"
                        cellspacing="0">
                        <tr>
                            <td class="dashBoardLeftCont" valign="top">
                                <div class="himssuHeader3WireBox">
                                    <div class="himsBoxHeader">
                                        <div class="leftdiv">
                                        </div>
                                        <%--<div class="himsBoxTitle">
                                            <div class="headerText">
                                            <asp:Image ID="FavoritesImage" runat="server" 
                                            ImageUrl="~/Images/icons/icon_favorite.gif" 
                                            meta:resourcekey="FavoritesImageResource1" style="vertical-align:middle"/>--%>







<aside class="main-sidebar">
      
<section class="sidebar">
      
<ul class="sidebar-menu">
<li class="header">
                
      
                
<asp:Label Font-Size="Medium" ID="FavoritesLabel" runat="server" Text="Favorites Screen"></asp:Label>
                
</li>
<li class="treeview">
      
                
   <asp:Repeater ID="ParentReapeter" runat="server" OnItemDataBound="ParentReapeter_OnItemDataBound">
                             
<ItemTemplate>
                    
      
                                                                                            
   <asp:HyperLink ID="screenHyperLink1" Text='<%# DataBinder.Eval(Container.DataItem,"ScreenTitle") %>' NavigateUrl='<%# DataBinder.Eval(Container.DataItem,"PagePath") %>' runat="server"></asp:HyperLink>

                                                                                           
</ItemTemplate>
</asp:Repeater>
              
</li>
      
</section>
        
</aside>







                                     <%--   <asp:Label ID="FavoritesLabel" runat="server" Text="Favorites Screen"></asp:Label>--%>
                                    </div>
                                </div>
                </div>
                <table width="0px" cellpadding="0" cellspacing="0">
                    <tr>
                        <td>
                            <div class="himsBoxContent">
                                <div class="leftUlMenu">
               <%--                     <asp:Repeater ID="ParentReapeter" runat="server" OnItemDataBound="ParentReapeter_OnItemDataBound">
                                        <ItemTemplate>
                                            <div class="himsBoxContent leftTableContainer">
                                                <ul id="sidebarmenu1">
                                                    <li>
                                                        <div>
                                                            <asp:Image runat="server" Visible="true" ID="ScreenImageButton" ImageUrl='<%# DataBinder.Eval(Container.DataItem,"IconPath") %>' />
                                                            <asp:HyperLink ID="screenHyperLink1" Text='<%# DataBinder.Eval(Container.DataItem,"ScreenTitle") %>' NavigateUrl='<%# DataBinder.Eval(Container.DataItem,"PagePath") %>' runat="server"></asp:HyperLink>
                                                            <asp:Image runat="server" Visible="false" ID="NewImage" ImageUrl="~/Images/newicon.jpg" />
                                                        </div>

                                                    </li>
                                                </ul>
                                            </div>
                                        </ItemTemplate>
                                    </asp:Repeater>
                   --%>
                                    <div id="IsAdminUserLogin" runat="server" class="himsBoxContent leftTableContainer">
                                        <ul id="sidemenu2">
                                            <li runat="server" id="Li1" style="list-style-type: none;">
                                                <div>
                                                    <asp:Image runat="server" Visible="true" ID="ScreenImage1Button" ImageUrl="~/Images/ScreenIcon/ParentDashBoard_AdminLogin.png" />
                                                    <asp:LinkButton ID="AdminUserLoginLinkButton" Text="Admin LogIn" OnClick="AdminLogIn_click" runat="server"></asp:LinkButton>
                                                </div>
                                            </li>
                                        </ul>
                                    </div>
                                </div>
                            </div>
                        </td>
                    </tr>
                </table>
            </div>
            </td>
                        <td style="vertical-align: top;" width="100%" class="whitebox">
                            <div class="himssuHeader1WireBox" runat="server" id="NewsDiv" visible="false">
                                <div class="himsBoxHeader note note1 box box-danger">
                                    <asp:Panel ID="Panel1" runat="server">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="headerText">
                                                <asp:Label ID="Label3" runat="server" Text="Latest News"></asp:Label>
                                            </div>
                                        </div>
                                    </asp:Panel>
                                </div>
                                <div class="himsBoxContent">
                                    <asp:Panel ID="DetailPanel" runat="Server">
                                        <div class="contentHolder">

                                            <div id="Div1" class="himssuHeader7WireBox" runat="server" style="width: 100%; margin-right: 5px;">
                                                <div id="NewsListDetailDiv" runat="server">
                                                    <div id="NewsListDiv" runat="server">
                                                        <div class="leftdiv">
                                                        </div>
                                                        <div class="himsBoxTitle" style="width: 99%">
                                                            <%--<div class="headerText">
                                                                    <div class="fLeft">
                                                                        <asp:Label ID="GridViewLabel" Text="List" runat="server" Font-Bold="true" />
                                                                    </div>
                                                                </div>--%>
                                                            <div align="right" class="fRight" style="margin-top: -3px;">
                                                                <%--<uc1:GridViewPager ID="NewsListGridViewPager" ParentGridView="NewsListGridView"
                                                                    runat="server" OnFirstRecordClick="NewsListGridViewPager_FirstRecordClick" OnLastRecordClick="NewsListGridViewPager_LastRecordClick"
                                                                    OnNextRecordClick="NewsListGridViewPager_NextRecordClick" OnPrevRecordClick="NewsListGridViewPager_PrevRecordClick"
                                                                    OnTextBoxValueChange="NewsListGridViewPager_TextBoxValueChange" />--%>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="himsBoxContent box-body box-solid">
                                                        <asp:UpdatePanel ID="MenuPlanDetailUpdatePanel" runat="server" UpdateMode="Always">
                                                            <ContentTemplate>
                                                                <div id="Div5" runat="server">
                                                                    <asp:GridView ID="NewsListGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                        OnRowDataBound="NewsListGridView_RowDataBound"
                                                                        AllowPaging="false" PageSize="10" SkinID="" ShowHeader="true" PagerSettings-Visible="false"
                                                                        DataKeyNames="NewsId" EmptyDataText="No Records Found !!" CssClass="table table-striped table-bordered">
                                                                        <Columns>
                                                                            <asp:BoundField DataField="Title" HeaderText="Name" ItemStyle-Width="45%" HeaderStyle-HorizontalAlign="Left" />
                                                                            <%--<asp:BoundField DataField="NewsRemark" HeaderText="Remark" ItemStyle-Width="35%" HeaderStyle-HorizontalAlign="Left"/>--%>
                                                                            <asp:BoundField DataField="OrgGroupBatch" HeaderText="Org Group Batch" Visible="false" ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Left" />
                                                                            <asp:BoundField DataField="NewsCreatedUserName" HeaderText="Created By" ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Left" />
                                                                            <asp:BoundField DataField="NewsCreatedDateTime" HeaderText="Created Date" ItemStyle-Width="15%" DataFormatString="{0:MMMM dd,yyyy}" HeaderStyle-HorizontalAlign="Left" />
                                                                            <asp:TemplateField ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                                <ItemTemplate>
                                                                                    <asp:LinkButton ID="ViewLinkButton" runat="server" CommandName="Select" OnClick="ViewLinkButton_Click"
                                                                                        Text="View" CausesValidation="false"></asp:LinkButton>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                        </Columns>
                                                                    </asp:GridView>
                                                                </div>
                                                            </ContentTemplate>
                                                        </asp:UpdatePanel>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>
                                </div>
                            </div>

                            <div class="spacer5">
                                <asp:Image ID="Image2" runat="server" ImageUrl="~/Images/spacer.gif"></asp:Image>
                            </div>

                            <div class="himssuHeader1WireBox whitebox" id="ActivityDiv" runat="server" visible="false">
                                <div class="himsBoxHeader note note1 box box-danger" id="Div4" runat="server">
                                    <div class="leftdiv">
                                    </div>

                                    <div class="himsBoxTitle">
                                        <div class="headerText fLeft">

                                            <asp:Label ID="Label4" Text="My Current Activity List"
                                                runat="server" />
                                        </div>
                                    </div>
                                </div>

                                <div class="himsBoxContent whiteboxpaddingleft">
                                    <asp:Panel ID="Panel2" runat="Server">
                                        <div class="contentHolder  box-body box-solid">

                                            <div class="himssuHeader7WireBox">
                                                <div id="ActivityListGridViewPagerDiv" runat="server">
                                                    <div class="leftdiv">
                                                    </div>
                                                    <div class="himsBoxTitle">
                                                        <%--<div class="gridHeaderText fLeft">
                                                <asp:Label ID="Label1" Text="List" runat="server" />
                                            </div>--%>
                                                        <div class="fRight">
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="himsBoxContent">
                                                    <asp:GridView runat="server" ID="ActivityListGridView" Width="100%" AutoGenerateColumns="False"
                                                        EmptyDataText="No records available for the seacrh criteria!"
                                                        AllowPaging="false" PageSize="10" DataKeyNames="ActivityId,ActivityTypeId"
                                                        ShowHeader="true" meta:resourcekey="EventListGridViewResource1" CssClass="table table-striped table-bordered">
                                                        <Columns>
                                                            <asp:BoundField DataField="Title" HeaderText="Name" ItemStyle-Width="70%" HeaderStyle-HorizontalAlign="Left" />
                                                            <%--<asp:BoundField DataField="Remark" HeaderText="Remark" ItemStyle-Width="45%" />--%>
                                                            <asp:BoundField DataField="FromDate" HeaderText="From Date" DataFormatString="{0:dd/MM/yyyy}" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left" />
                                                            <asp:BoundField DataField="ToDate" HeaderText="To Date" DataFormatString="{0:dd/MM/yyyy}" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left" />
                                                        </Columns>
                                                        <PagerSettings Visible="False" />
                                                    </asp:GridView>

                                                </div>
                                            </div>

                                            <div class="spacer">
                                                <asp:Image ID="Image3" runat="server" ImageUrl="~/Images/spacer.gif" meta:resourcekey="Image7Resource1" />
                                            </div>

                                        </div>
                                    </asp:Panel>
                                </div>
                            </div>

                            <div class="spacer">
                                <asp:Image ID="Image5" runat="server" ImageUrl="~/Images/spacer.gif" meta:resourcekey="Image7Resource1" />
                            </div>

                            <div class="himssuHeader1WireBox whitebox" id="ResultDiv" runat="server" visible="false">
                                <div class="himsBoxHeader note note1 box box-danger" id="Div2" runat="server">
                                    <div class="leftdiv">
                                    </div>
                                    <div class="himsBoxTitle">
                                        <div class="headerText fLeft">
                                            <asp:Label ID="Label1" Text="My last Result"
                                                runat="server" />
                                        </div>
                                    </div>
                                </div>

                                <div class="himsBoxContent whiteboxpaddingleft ">
                                    <asp:Panel ID="Panel3" runat="Server">
                                        <div class="contentHolder box-body box-solid">

                                            <div class="himssuHeader7WireBox">
                                                <div id="StudentResultListGridViewPagerDiv" runat="server">
                                                    <div class="leftdiv">
                                                    </div>
                                                    <div class="himsBoxTitle">
                                                        <%--<div class="gridHeaderText fLeft">
                                                <asp:Label ID="Label2" Text="List" runat="server"/>
                                            </div>--%>
                                                        <div class="fRight">
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="himsBoxContent ">
                                                    <asp:GridView runat="server" ID="StudentResultListGridView" Width="100%" AutoGenerateColumns="False"
                                                        EmptyDataText="No records available for the seacrh criteria!"
                                                        AllowPaging="false" PageSize="10" DataKeyNames="Id,SourceId,OrgId,Code"
                                                        ShowHeader="true" meta:resourcekey="StudentResultListGridViewResource1" CssClass="table table-striped table-bordered">
                                                        <Columns>
                                                            <asp:BoundField DataField="Title" HeaderText="Exam Name" ItemStyle-Width="70%" HeaderStyle-HorizontalAlign="Left" />
                                                            <asp:BoundField DataField="ExamDate" HeaderText="Exam Date" DataFormatString="{0:dd/MM/yyyy}" ItemStyle-Width="20%" HeaderStyle-HorizontalAlign="Left" />
                                                            <asp:TemplateField ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:HyperLink ID="HyperLink1" Target="_blank" NavigateUrl='<%# "../../Content/" + Eval("Id").ToString().PadRight(4).Substring(0,4).TrimEnd() + "/UploadResult/"+Eval("Id")+"/"+Eval("Code")+".pdf" %>' runat="server" Text="View Result"></asp:HyperLink>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                        </Columns>
                                                        <PagerSettings Visible="False" />
                                                    </asp:GridView>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>
                                </div>
                                <div class="spacer">
                                    <asp:Image ID="Image4" runat="server" ImageUrl="~/Images/spacer.gif" meta:resourcekey="Image7Resource1" />
                                </div>

                            </div>
                        </td>
            </tr>
                    </table>
                </div>
            </div> 
                      
        </ContentTemplate>
    </asp:UpdatePanel>
    <script language="javascript" type="text/javascript" src="../../JavaScript/ConsultantWorkBench.js"></script>
</asp:Content>