<%@ page language="C#" masterpagefile="~/Pages/Common/MasterPages/MobileMasterPage.master" autoeventwireup="true" inherits="Pages_Communication_MDiscussionList, App_Web_3arndfqv" 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%" 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">
                                                <%--<asp:Image ID="Image2" runat="server" class="fLeft" />--%>
                                                <div class="headerText">
                                                    <asp:Label ID="Label3" runat="server" Text="Discussion List"></asp:Label>
                                                    </div>
                                                 <div class="fRight" style="margin-top: -20px">
                                                    <asp:Button ID="CreateDiscussionGroupButton" runat="server" Width="110px" class="buttonLBlue" OnClick="CreateDiscussionGroupButton_Click" Text="Create Group" SkinID="0" CssClass="AddButton"/>
                                                </div>
                                            </div>
                                        </asp:Panel>
                                    </div>
                                    <div class="himsBoxContent">
                                    <table width="100%">
                                    <tr>
                                    <td width="80%">
                                        <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="fRight" >
                                                                
                                                            </div>
                                                </asp:Panel>
                                                <div id="Div1" class="himssuHeader7WireBox box-body box-solid gridviewfontbigger" runat="server" style="width: 100%; margin-right: 5px;">
                                                    <div id="DiscussionListDetailDiv" visible="false" runat="server">
                                                        <div class="spacer">
                                                            <asp:Image ID="Image3" runat="server" ImageUrl="~/Images/spacer.gif" />
                                                        </div>
                                                      
                                                        <div class="himsBoxContent">
                                                            <asp:UpdatePanel ID="MenuPlanDetailUpdatePanel" runat="server" UpdateMode="Always">
                                                                <ContentTemplate>
                                                                    <div id="Div5" runat="server" visible="false">
                                                                            <asp:GridView ID="DiscussionListGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                OnRowDataBound="DiscussionListGridView_RowDataBound" EmptyDataText="No Records Found !!"
                                                                                AllowPaging="true" PageSize="10" SkinID="" ShowHeader="true" PagerSettings-Visible="false"
                                                                                DataKeyNames="DiscussionId,DiscussionGroupId" CssClass="table table-striped table-bordered">
                                                                                <Columns>
                                                                                    <asp:BoundField DataField="Title" HeaderText="Name"  HeaderStyle-HorizontalAlign="Left"/>
                                                                                    <asp:BoundField DataField="DiscussionRemark" HeaderText="Remark" HeaderStyle-HorizontalAlign="Left"/>
                                                                                    <asp:BoundField DataField="TotalDiscussionComment" HeaderText="Comment" HeaderStyle-HorizontalAlign="Left"/>
                                                                                    <asp:BoundField DataField="Batch" HeaderText="Batch" HeaderStyle-HorizontalAlign="Left"/>
                                                                                    <asp:BoundField DataField="DiscussionCreatedUserName" HeaderText="Created User Name" HeaderStyle-HorizontalAlign="Left"/>
                                                                                    <asp:BoundField DataField="DiscussionCreatedDateTime" HeaderText="Created Date" DataFormatString="{0:MMMM dd,yyyy}" HeaderStyle-HorizontalAlign="Left"/>
                                                                                    <asp:TemplateField 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>--%>
                                                                    </div>
                                                                </ContentTemplate>
                                                            </asp:UpdatePanel>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </asp:Panel>
                                    </td>
                                 
                                    <asp:Repeater ID="MyGroupRepeater" runat="server" OnItemDataBound="MyGroupRepeater_OnItemDataBound">
                                        <HeaderTemplate>
                                        <asp:Label runat="server" CssClass="whiteboxpaddingleft" ID="GroupLabel"  Text="My Group" Width="100%" Font-Bold="true" Font-Size="Small"></asp:Label>
                                        </HeaderTemplate>
                                        <ItemTemplate>
                                        <%--<div class="himsBoxContent leftTableContainer">--%>
                                                            <div class="leftUlMenu">
                                                            <ul>
                                                            <li style="height:auto;color:Black;list-style-type:none;background-color:White;">
                                                            <asp:HiddenField runat="server" ID="DiscussionGroupIdHiddenField" Value='<%# Eval("DiscussionGroupId") %>'/>
                                        <asp:LinkButton Id="DiscussionGroupLinkButton" runat="server" Text='<%# Eval("DiscussionGroup") %>' ForeColor="Blue" OnClick="DiscussionGroupLinkButton_Click"></asp:LinkButton>
                                        </li>
                                      
                                        </ul>
                                        </div>
                                        <%--</div>--%>
                                        </ItemTemplate>
                                        </asp:Repeater>
                                    </td>
                                    </tr>
                                    </table>
                                    </div>
                                </div> 
               <%-- <div class="spacer">
                    <asp:Image ID="Image7" runat="server" ImageUrl="~/Images/spacer.gif" 
                        meta:resourcekey="Image7Resource1" />
                </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>