<%@ page title="" language="C#" masterpagefile="~/Pages/Common/MasterPages/MobileMasterPage.master" autoeventwireup="true" inherits="Pages_Communication_MNewsView, App_Web_yitrogwh" enableEventValidation="false" viewStateEncryptionMode="Never" %>

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

        <ContentTemplate>

            <div id="divContentPage" class="padding-top-header">
                <!-- ContentPlaceHolder Box Starts -->
                <div class="alert alert-warning" runat="server" id="MessageBox" visible="false">
                    <strong>
                        <asp:Label ID="MessageBoxLabel" runat="server"></asp:Label></strong>
                </div>
                <div style="width: 100%; padding: 2px; margin: 2px">
                    <table width="100%" cellpadding="0" cellspacing="0">
                    </table>
                    <div class="spacer5">
                        <asp:Image ID="Image2" 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="contentHolder" style="padding-top: 0px; padding-left: 0px; padding-right: 0px">
                                    <div class="himssuHeader1WireBox whitebox">
                                        <div class="himsBoxHeader note note1 box box-danger" id="Div4" runat="server" visible="True">
                                            <div class="leftdiv">
                                            </div>

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

                                                    <asp:Label ID="Label4" Text="News View"
                                                        runat="server" />
                                                </div>
                                            </div>
                                            <div class="fRight">
                                                <asp:Button ID="BackButton" runat="Server" OnClick="BackButton_Click" SkinID="0" CssClass="BackButton" Text="Back" />
                                            </div>
                                        </div>

                                        <div class="himsBoxContent">
                                            <asp:Panel ID="DetailPanel" runat="Server">
                                                <div class="contentHolder">
                                                    <div class="pTop5 col-md-12">
                                                        
                                                        <div class="col-md-5">
                                                            <table cellspacing="10px">
                                                                <tr class="">
                                                                    <div class="small-box bg-blue-gradient" style="margin-bottom: 0px !important">
                                                                        <div class="inner">
                                                                            <p>
                                                                                <asp:Label ID="TitleLabel" runat="server" Font-Bold="true" Font-Size="XX-Large"></asp:Label>
                                                                            </p>
                                                                        </div>
                                                                        <div class="icon">
                                                                            <i class="fa fa-newspaper-o" style="padding-top: 15px !important; padding-bottom: 25px"></i>
                                                                        </div>
                                                                        <div class="small-box-footer" style="height: 20px">
                                                                            <asp:Label CssClass="fLeft whiteboxpaddingleft" ID="NewsDetailsLabel" runat="server"></asp:Label>
                                                                            <asp:Label ID="TotalCommentLabel" CssClass="fa fa-comments-o fRight whiteboxpaddingleft" runat="server" Font-Bold="true" Font-Size="Small"></asp:Label>
                                                                        </div>
                                                                    </div>
                                                                     <div class="remarkcolor">
                                                                    <div class="remarkcolor profilenew">
                                                                        <asp:Label ID="NewsRemarkLabel" Font-Size="Medium" CssClass="profilenew" runat="server" Width="100%"></asp:Label></div>
                                                                </div>
                                                                </tr>
                                                               
                                                            </table>
                                                        </div>
                                                    </div>

                                                    <div class="cBoth">
                                                    </div>

                                                    <div class="outerBox pTop5" style="padding-left: 10px">
                                                      
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox ID="RemarkTextBox" runat="server" onmouseleave="showHideTooltip()" SkinID="MultiLineTextBox"
                                                                Width="300px" onmouseenter="showHideTooltip()" MaxLength="500" TextMode="MultiLine" Height="40px"></asp:TextBox>
                                                        </div>
                                                    </div>

                                                    <div class="cBoth">
                                                    </div>

                                                    <div class="outerBox pTop5" style="padding-left: 10px">
                                                        <div class="fLeft pRight5">
                                                            <asp:Button ID="CommentButton" Text="Comment" runat="Server" OnClick="CommentButton_Click" SkinID="0" CssClass="PrimaryButton" />
                                                            <asp:HiddenField runat="server" ID="DeleteCommentIdHiddenField" />
                                                        </div>
                                                    </div>

                                                    <div class="cBoth">
                                                    </div>
                                                    <div class="spacer">
                                                        <asp:Image ID="Image1" runat="server" ImageUrl="~/Images/spacer.gif" />
                                                    </div>
                                                  
                                                    <asp:Repeater ID="NewsRepeater" runat="server" OnItemDataBound="NewsRepeater_OnItemDataBound">
                                                      
                                                        <ItemTemplate>
                                                            <div class="leftUlMenu" style="padding-left: 20px">
                                                                <ul>
                                                                    <li style="height: auto; color: Black; list-style-type: none; background-color: White; width: 40%">
                                                                        <asp:HiddenField runat="server" ID="CommentIdHiddenField" Value='<%# Eval("Id") %>' />
                                                                        <asp:Label runat="server" ID="CommentCreatedUserNameLabel" Text='<%# Eval("CommentCreatedUserName") %>' Font-Size="Smaller" Font-Bold="true"></asp:Label>

                                                                        <asp:LinkButton ID="DeleteLinkButton" runat="server" Text="Delete" CssClass="label label-danger" Visible="false" OnClick="DeleteLinkButton_Click" Style="float: right"></asp:LinkButton>

                                                                        <asp:Label runat="server" ID="CommentCreatedDateTimeLabel" Text='<%# DataBinder.Eval(Container.DataItem, "CommentCreatedDateTime", "{0:MMMM dd,yyyy}")%>'
                                                                            Style="float: right" CssClass="whiteboxpaddingleft" Font-Bold="true"></asp:Label>


                                                                        <div class="rollIn">
                                                                            <asp:Label CssClass="direct-chat-text rollIn" runat="server" ID="RemarkLabel" Text='<%# DataBinder.Eval(Container.DataItem, "Remark").ToString().Replace(Environment.NewLine, "<br />") %>' Width="250px"></asp:Label>
                                                                        </div>

                                                                    </li>
                                                                    <div class="spacer5 leftUlMenu">
                                                                        <asp:Image ID="Image2" runat="server" ImageUrl="~/Images/spacer.gif"></asp:Image>
                                                                    </div>
                                                                </ul>
                                                            </div>
                                                            <%--</div>--%>
                                                        </ItemTemplate>
                                                    </asp:Repeater>
                                                    <%--         </ContentTemplate>
                                                            </asp:UpdatePanel>--%>
                                                </div>
                                            </asp:Panel>
                                        </div>
                                    </div>
                                </div>
                                <div class="spacer">
                                    <asp:Image ID="Image4" runat="server" ImageUrl="~/Images/spacer.gif" />
                                </div>

                            </td>
                        </tr>
                    </table>
                    <%--HEDP History Ends Here--%>
                </div>
            </div>
            <div class="spacer">
                <img src="../../Images/spacer.gif" />
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <script data-main="../../JavaScript/rjs/encrypt/mdiscussion-encrypt" src="../../JavaScript/rjs/require.js"></script>
</asp:Content>