<%@ page language="C#" masterpagefile="~/Pages/Common/MasterPages/MobileMasterPage.master" autoeventwireup="true" inherits="Pages_Communication_MMyPoll, App_Web_l0a3ikjp" enableEventValidation="false" viewStateEncryptionMode="Never" %>
 
<asp:Content ID="Content1" ContentPlaceHolderID="CP" Runat="Server">
    <asp:UpdatePanel ID="PollListSearchUpdatePanel" 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;border-collapse:collapse;" 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="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="My Poll"
                                                    runat="server" />
                                            </div>
                                        </div>
                                    </div>
                                   
                                    <div class="himsBoxContent">
                                        <asp:Panel ID="DetailPanel" runat="Server">
                                         <div class="contentHolder">

                                <div class="himssuHeader6WireBox box-body box-solid gridviewfontbigger ">
                                    <div class="himsBoxHeader" id="ActivePollListGridViewPagerDiv"  runat="server" visible="true">
                                        <div class="leftdiv">
                                        </div>
                                       
                                      
                                    </div>
                                    <div class="himsBoxContent">
                                      
                                           <asp:GridView runat="server" ID="ActivePollListGridView" Width="100%" AutoGenerateColumns="False" OnPageIndexChanging="ActivePollListGridView_PageIndexChanging"
                                                EmptyDataText="No records available for the seacrh criteria!" OnRowDataBound="ActivePollListGridView_RowDataBound"
                                                AllowPaging="True" PageSize="10" DataKeyNames="PollId"  CssClass="table table-striped table-bordered"
                                                ShowHeader="true" meta:resourcekey="ActivePollListGridViewResource1">
                                                <Columns>
                                                    <asp:TemplateField HeaderText="Name" ItemStyle-Width="70%" HeaderStyle-HorizontalAlign="Left">
                                                        <ItemTemplate>
                                                            <asp:LinkButton ID="ActiveTitleLinkButton" runat = "server" Text='<%# Bind("PollTitle") %>' 
                                                            Width="100%" OnClick="ActiveTitleLinkButton_OnClick" Font-Underline="false" ></asp:LinkButton>  
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                   <%-- <asp:TemplateField HeaderText="Remark" ItemStyle-Width="0%" Visible="false" HeaderStyle-HorizontalAlign="Left">
                                                        <ItemTemplate>
                                                            <asp:Label ID="RemarkLabel" runat = "server" Text='<%# Bind("PollRemark") %>'></asp:Label>  
                                                        </ItemTemplate>
                                                    </asp:TemplateField>--%>
                                                    <asp:TemplateField HeaderText="Posted on" ItemStyle-Width="35%" HeaderStyle-HorizontalAlign="Left">
                                                        <ItemTemplate>
                                                            <asp:Label ID="PollCreatedDateTimeLabel" runat = "server" Text='<%# Bind("PollCreatedDateTime","{0:MMM dd,yyyy}") %>'></asp:Label>  
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText="Votes" ItemStyle-Width="3%" HeaderStyle-HorizontalAlign="Left">
                                                        <ItemTemplate>
                                                            <asp:Label ID="TotalPollVoteLabel" runat = "server" Text='<%# Bind("TotalPollVote") %>'></asp:Label>  
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                  
                                                   <%-- <asp:TemplateField HeaderText="IsOwnAnswer" ItemStyle-Width="0%" Visible="false" HeaderStyle-HorizontalAlign="Left">
                                                        <ItemTemplate>
                                                        <asp:Label ID="IsOwnAnswerLabel" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"IsOwnAnswer").ToString().ToUpper()=="TRUE"?"Y":"N" %>'></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>--%>
                                        
                                    </div>
                                </div>

                                <div class="spacer">
                                    <asp:Image ID="Image6" runat="server" ImageUrl="~/Images/spacer.gif" meta:resourcekey="Image6Resource1" />
                                </div>

                                <%--<div class="himssuHeader6WireBox box-body box-solid gridviewfontbigger">
                                   
                                    <div class="himsBoxContent">
                                       
                                           <asp:GridView runat="server" ID="ClosedPollListGridView" Width="100%" AutoGenerateColumns="False" CssClass="table table-striped table-bordered" OnPageIndexChanging="ClosedPollListGridView_PageIndexChanging"
                                                EmptyDataText="No records available for the seacrh criteria!" OnRowDataBound="ClosedPollListGridView_RowDataBound"
                                                AllowPaging="True" PageSize="10" DataKeyNames="PollId"  
                                                ShowHeader="true" meta:resourcekey="ClosedPollListGridViewResource1">
                                                <Columns>
                                                    <asp:TemplateField HeaderText="Name" ItemStyle-Width="80%" HeaderStyle-HorizontalAlign="Left">
                                                        <ItemTemplate>
                                                            <asp:LinkButton ID="ClosedTitleLinkButton" runat = "server" Text='<%# Bind("PollTitle") %>'  
                                                          Width="100%"  OnClick="ClosedTitleLinkButton_OnClick" Font-Underline="false" ></asp:LinkButton> 
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText="Remark" ItemStyle-Width="0%" Visible="false" HeaderStyle-HorizontalAlign="Left">
                                                        <ItemTemplate>
                                                            <asp:Label ID="RemarkLabel" runat = "server" Text='<%# Bind("PollRemark") %>'></asp:Label>  
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText="Posted on" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left">
                                                        <ItemTemplate>
                                                            <asp:Label ID="PollCreatedDateTimeLabel" runat = "server" Text='<%# Bind("PollCreatedDateTime","{0:MMMM dd,yyyy}") %>' Width="110px"></asp:Label>  
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText="Votes" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left">
                                                        <ItemTemplate>
                                                            <asp:Label ID="TotalPollVoteLabel" runat = "server" Text='<%# Bind("TotalPollVote") %>' Width="75px"></asp:Label>  
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                   
                                                    <asp:TemplateField HeaderText="IsOwnAnswer" ItemStyle-Width="0%" Visible="false" HeaderStyle-HorizontalAlign="Left">
                                                        <ItemTemplate>
                                                        <asp:Label ID="IsOwnAnswerLabel" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"IsOwnAnswer").ToString().ToUpper()=="TRUE"?"Y":"N" %>'></asp:Label>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                </Columns>
                                               
                                            </asp:GridView> 
                                     
                                        
                                    </div>
                                </div>--%>

                            
                            

                                   
                               <div class="spacer">
                    <asp:Image ID="Image3" runat="server" ImageUrl="~/Images/spacer.gif" meta:resourcekey="Image7Resource1" />
                </div>
                </div>
                            </asp:Panel>
                            </div>
            </div>
                            </td>
	                    </tr>
                    </table>
                
                </div>
            </div>      
            
        </ContentTemplate>
    </asp:UpdatePanel>
    <script data-main="../../JavaScript/rjs/encrypt/mempprofile-encrypt" src="../../JavaScript/rjs/require.js"></script> 
</asp:Content>