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

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="DoctorScheduleUpdatePanel" runat="server">
        <ContentTemplate>
            <style type="text/css">
                @media (max-width: 1080px) {
                    .whitebox {
                        height: auto;
                        max-height: 100% !important;
                        overflow: auto !important;
                    }
                }
            </style>
            <div>
                <div class="whiteboxpaddingleft padding-top-header">
                    <section class="pTop5">
                    <td style="vertical-align: top;" width="100%">
                        <div class="himssuHeader1WireBox">
                            <div class=" note note1 box box-danger">
                                 Circular List                                
                            </div>
                            <div class="whitebox table-pager-bordered">
                                <asp:GridView runat="server" ID="CircularListGridView" Width="100%" AutoGenerateColumns="False" OnPageIndexChanging="CircularListGridView_PageIndexChanging"
                                    EmptyDataText="No records available for the seacrh criteria!" OnRowDataBound="CircularListGridView_RowDataBound" 
                                    AllowPaging="True" PageSize="10" DataKeyNames="CircularId" 
                                    ShowHeader="true" meta:resourcekey="CircularListGridViewResource1" CssClass="table table-striped table-bordered">
                                    <Columns>
                                        <asp:TemplateField HeaderText="User Id" Visible="false" HeaderStyle-HorizontalAlign="Left">
                                            <ItemTemplate>
                                                <asp:Label ID="UserIdLabel" runat="server" Text='<%# Bind("UserId") %>'></asp:Label>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField ItemStyle-HorizontalAlign="Left" ItemStyle-Wrap="true" HeaderText="Name" HeaderStyle-HorizontalAlign="Left">
                                            <ItemTemplate>
                                                <asp:LinkButton ID="TitleViewLinkButton" runat="server" CommandName="Select" OnClick="TitleViewLinkButton_Click"
                                                    Text='<%# Bind("Title") %>' CausesValidation="false"></asp:LinkButton>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField ItemStyle-HorizontalAlign="Left" ItemStyle-Wrap="true" HeaderText="Type" HeaderStyle-HorizontalAlign="Left">
                                            <ItemTemplate>
                                                <asp:Label ID="CircularTypeLabel" runat="server"
                                                    Text='<%# Bind("CircularType") %>' CausesValidation="false"  BackColor='<%# System.Drawing.ColorTranslator.FromHtml(Eval("HighlightColor").ToString())%>'></asp:Label>
                                            </ItemTemplate>
                                        </asp:TemplateField>                                        
                                        <asp:BoundField DataField="StartDate" HeaderText="Start Date" DataFormatString="{0:dd/MM/yyyy}" HeaderStyle-HorizontalAlign="Left" />
                                    </Columns>                                  
                                    <PagerSettings Mode="NumericFirstLast" Visible="True"  />
                                    <PagerStyle CssClass="pagination" BackColor="#284775" ForeColor="White" BorderWidth="0" HorizontalAlign="Right" />
                                </asp:GridView>                                
                            </div>
                        </div>
                    </td>
                </section>
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <script data-main="../../JavaScript/rjs/encrypt/mempprofile-encrypt" src="../../JavaScript/rjs/require.js"></script>
</asp:Content>