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

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="ResonMasterUpdatePanel" runat="server" UpdateMode="Always">
        <ContentTemplate>
            <div id="divContentPage" class="padding-top-header">
                <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%" border="0" style="vertical-align: top; margin-top: -1px" cellpadding="0" cellspacing="0">
                        <tr>
                            <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="My Behaviour"></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="BehaviorTypeMasterLabel" runat="server" Text="Behaviour"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList runat="server" ID="BehaviourIndicatorDropDownList" SkinID="CustomWidthDropDownList"
                                                                onmouseleave="showHideTooltip()" Width="154px" onmouseenter="showHideTooltip()"
                                                                OnSelectedIndexChanged="BehaviourIndicatorDropDownList_OnSelectedIndexChanged"
                                                                AutoPostBack="true">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="Label1" runat="server" Text="Behaviour Type"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList runat="server" ID="BehaviourTypeDropDownList" SkinID="CustomWidthDropDownList"
                                                                onmouseleave="showHideTooltip()" Width="154px" onmouseenter="showHideTooltip()"
                                                                AutoPostBack="false">
                                                            </asp:DropDownList>
                                                        </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">
                                                    <div id="ReasonMasterDetailDiv" visible="false" runat="server">
                                                        <div class="spacer">
                                                            <asp:Image ID="Image3" runat="server" ImageUrl="~/Images/spacer.gif" />
                                                        </div>
                                                        <asp:UpdatePanel ID="MenuPlanDetailUpdatePanel" runat="server" UpdateMode="Always">
                                                            <ContentTemplate>
                                                                <div id="Div5" runat="server" visible="false">
                                                                    <asp:GridView ID="BehaviorListGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                        OnRowDataBound="BehaviorListGridView_RowDataBound" OnPageIndexChanging="BehaviorListGridView_PageIndexChanging"
                                                                        AllowPaging="true" PageSize="5" SkinID="" ShowHeader="true" PagerSettings-Visible="false"
                                                                        EmptyDataText="No Records Found!!!" DataKeyNames="BehaviourId" CssClass="table table-striped table-bordered">
                                                                        <Columns>
                                                                            <asp:TemplateField HeaderText="Name" SortExpression="Title"
                                                                                HeaderStyle-HorizontalAlign="Left" ItemStyle-Wrap="true">
                                                                                <ItemTemplate>
                                                                                    <asp:LinkButton ID="TitleViewLinkButton" runat="server" CommandName="Select" OnClick="TitleViewLinkButton_Click"
                                                                                        Text='<%# Bind("Title") %>' CausesValidation="false"></asp:LinkButton>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="Behaviour Date" SortExpression="Title"
                                                                                HeaderStyle-HorizontalAlign="Left" ItemStyle-Wrap="true">
                                                                                <ItemTemplate>
                                                                                    <asp:Label ID="BehaviorDateLabel" runat="server" Text='<%#Eval("BehaviourDate", "{0:dd/MM/yyyy}") %>'></asp:Label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                        </Columns>
                                                                        <PagerSettings Mode="NumericFirstLast" Visible="True" />
                                                                        <PagerStyle CssClass="pagination" BackColor="#284775" ForeColor="White" BorderWidth="0" HorizontalAlign="Right" />
                                                                    </asp:GridView>
                                                                </div>
                                                            </ContentTemplate>
                                                        </asp:UpdatePanel>
                                                    </div>
                                                </div>
                                            </div>
                                    </div>
                                    </asp:Panel>
                                </div>
                </div>
                <div class="spacer">
                    <asp:Image ID="Image1" runat="server" ImageUrl="~/Images/spacer.gif" />
                </div>
                </td>
                        </tr>
                    </table>
                    <div class="cBoth">
                    </div>
            </div>
            </div>
            </div>
            </div> </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <script data-main="../../JavaScript/rjs/encrypt/mbehavior-list-encrypt" src="../../JavaScript/rjs/require.js"></script>
</asp:Content>