<%@ page language="C#" masterpagefile="~/Pages/Common/MasterPages/MobileMasterPage.master" autoeventwireup="true" inherits="Pages_Communication_MNewsList, App_Web_yitrogwh" uiculture="auto" meta:resourcekey="PageResource1" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="HREmployeeMasterSearchUpdatePanel" runat="server">
        <ContentTemplate>
            <div id="divContentPage" class="padding-top-header">
                <!-- ContentPlaceHolder Box Starts -->
                <div style="width: 100%; padding: 2px; margin: 2px">
                    <table width="100%" cellpadding="0" cellspacing="0">
                    </table>
                    <div class="spacer5">
                        <asp:Image ID="Image1" runat="server" ImageUrl="~/Images/spacer.gif"></asp:Image>
                    </div>
                  
                    <table width="100%" border="0" style="vertical-align: top; margin-top: -1px" cellpadding="0"
                        cellspacing="0">
                        <tr>
                           <%-- <div class="col-md-3">
                        <section class="content-header" style="margin-bottom: 5px; margin-right: 0px; padding-right: 0px !important; padding-left: 0px;">
                             <div style="padding-right:0;">
                                 <asp:Label runat="server" ID="ScreenNamelabel" Text="" Font-Bold="true" CssClass="screennamelabel"/>
                             </div>
                        </section>
                    </div>--%>
                            <td style="vertical-align: top;" width="100%" class="whiteboxpaddingleft">
                                <div class="himssuHeader5WireBox whitebox">
                                    <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="News List"></asp:Label>
                                                   
                                                </div>
                                            </div>
                                        </asp:Panel>
                                    </div>
                                    <div class="himsBoxContent">
                                        <asp:Panel ID="DetailPanel" runat="Server">
                                            <div class="contentHolder">
                                                <asp:Panel ID="SearchCriteriaPanel" runat="Server">
                                                    <div class="outerBox pTop5">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="SearchTitleLabel" Text="Name" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox ID="SearchTitleTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                SkinID="CustomWidthTextBox" Width="150px" runat="Server" MaxLength="200" Text="*"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                 
                                                    <div class="cBoth">
                                                    </div>
                                                    <div class="alignCenter pTop5">
                                                        <asp:Button ID="SearchButton" Text="Search" runat="Server" OnClick="SearchButton_Click"
                                                            SkinID="0" CssClass="btn-primary" />
                                                        <asp:Button ID="ResetButton" runat="server" Text="Clear" OnClick="ResetButton_Click" />
                                                    </div>
                                                    <div class="cBoth">
                                                    </div>
                                                </asp:Panel>
                                                <div id="Div1" class="himssuHeader7WireBox box-body box-solid gridviewfontbigger" runat="server" style="width: 100%; margin-right: 5px;">
                                                    <div id="NewsListDetailDiv" visible="false" runat="server">
                                                        <div class="spacer">
                                                            <asp:Image ID="Image3" runat="server" ImageUrl="~/Images/spacer.gif" />
                                                        </div>
                                                       
                                                        <div class="himsBoxContent table-pager-bordered">
                                                           
                                                                    <div id="Div5" runat="server" visible="false">
                                                                       
                                                                        <asp:GridView ID="NewsListGridView" runat="server" Width="100%" AutoGenerateColumns="False" OnPageIndexChanging="NewsListGridView_PageIndexChanging"
                                                                            OnRowDataBound="NewsListGridView_RowDataBound" AllowPaging="true" PageSize="10"
                                                                            SkinID="" ShowHeader="true" PagerSettings-Visible="false" DataKeyNames="NewsId" CssClass="table table-striped table-bordered"
                                                                            EmptyDataText="No Records Found !!">
                                                                            <Columns>
                                                                             
                                                                                <asp:TemplateField  ItemStyle-HorizontalAlign="Left" ItemStyle-Wrap="true"
                                                                                    HeaderStyle-HorizontalAlign="Left" HeaderText="Name">
                                                                                    <ItemTemplate>
                                                                                        <asp:LinkButton ID="ViewLinkButton" runat="server" CommandName="Select" OnClick="ViewLinkButton_Click"
                                                                                            Text='<%# Bind("Title") %>'> CausesValidation="false"></asp:LinkButton>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                               <%-- <asp:BoundField DataField="Title" HeaderText="Name" ItemStyle-Width="45%" HeaderStyle-HorizontalAlign="Left" />--%>
                                                                              
                                                                                <%--<asp:BoundField DataField="NewsCreatedUserName" HeaderText="Created By" 
                                                                                    HeaderStyle-HorizontalAlign="Left" />--%>
                                                                                <asp:BoundField DataField="NewsCreatedDateTime" HeaderText="Created Date" ItemStyle-Width="30%"
                                                                                    DataFormatString="{0:MMM 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>
                                                                            <PagerSettings Mode="NumericFirstLast" Visible="True"  />
                                                                             <PagerStyle CssClass="pagination" BackColor="#284775" ForeColor="White" BorderWidth="0" HorizontalAlign="Right" />
                                                                        </asp:GridView>
                                                                     
                                                                    </div>
                                                               
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </asp:Panel>
                                    </div>
                                </div>
                               
                            </td>
                        </tr>
                    </table>
                    <%--HEDP History Ends Here--%>
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <script data-main="../../JavaScript/rjs/encrypt/mempprofile-encrypt" src="../../JavaScript/rjs/require.js"></script>    
</asp:Content>