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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager" TagPrefix="uc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl" TagPrefix="ScreenGroup" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl" TagPrefix="Date" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="BlogUpdatePanel" runat="server">
        <ContentTemplate>
            <div id="divContentPage" class="divcontentpagemargin">

                <div class="dashBoardLeftCont">
                    <table>
                        <tr>
                            <td>
                                <div class="himsBoxContent">
                                    <div class="leftUlMenu">
                                        <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="114"
                                            Visible="true" runat="server" />
                                    </div>
                                </div>
                            </td>
                        </tr>
                    </table>
                </div>

                <div class="whiteboxpaddingleft row">
                    <div class="contentHolder">
                        <div class="himssuHeader1WireBox card card-box">
                            <div class="himsBoxHeader card-head" id="Div4" runat="server" visible="True">

                                <div class="himsBoxTitle">
                                    <div class="headerText fLeft">
                                        <header>
                                            <i class="fas fa-chart-bar"></i>
                                            <asp:Label ID="Label4" Text="Poll Vote"
                                                runat="server" />
                                        </header>
                                    </div>
                                </div>
                            </div>
                            <div class="himsBoxContent card-body">
                                <asp:Panel ID="DetailPanel" runat="Server">
                                    <dv class="contentHolder">
                                        <%--Commented code for mantis : 31108--%>
                                        <%--<div class="outerBox pTop5 col-md-12">
                                            <div style="padding-left: 10px">
                                                <table cellspacing="10px">
                                                    <tr>
                                                        <td>
                                                            <asp:Label ID="PollTitleLabel" runat="server" Width="500px" Font-Bold="true" Font-Size="Small"></asp:Label></td>
                                                    </tr>
                                                    <tr>
                                                        <td>
                                                            <asp:Label ID="PollRemarkLabel" runat="server" Width="500px" Font-Size="Small"></asp:Label></td>
                                                    </tr>
                                                </table>
                                            </div>
                                        </div>--%>

                                        <%--Add code for mantis : 31108--%>
                                        <div class="pTop5 col-md-12" style="padding-left: 25px">
                                            <div class="fLeft pRight5">
                                                <asp:Label ID="PollTitleLabel" runat="server" Width="500px" Font-Bold="true" Font-Size="Small"></asp:Label>
                                            </div>
                                        </div>
                                        <div class="pTop5 col-md-12" style="padding-left: 25px">
                                            <div class="fLeft pRight5">
                                                <asp:Label ID="PollRemarkLabel" runat="server" Width="500px" Font-Size="Small"></asp:Label>
                                            </div>
                                        </div>
                                        <div class="pTop5 col-md-12" style="padding-left: 25px">
                                            <div class="fLeft pRight5">
                                                <asp:RadioButtonList runat="server" ID="PollAnswerRadioButtonList" RepeatDirection="Vertical" Style="margin-left: 25px"
                                                    OnSelectedIndexChanged="PollAnswerRadioButtonList_OnSelectedIndexChanged" AutoPostBack="true">
                                                </asp:RadioButtonList>
                                            </div>                                              
                                        </div>  
                                        <div class="pTop5 col-md-12" style="padding-left: 25px">
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="RemarkTextBox" runat="server" onmouseleave="showHideTooltip()" SkinID="CustomWidthTextBox"
                                                    Width="400px" onmouseenter="showHideTooltip()" MaxLength="500" Visible="false"></asp:TextBox>
                                            </div>
                                        </div>                                      
                                        <div class="pTop5 col-md-12" align="center" style="padding-left: 10px">
                                            <div class="fLeft pRight5">
                                                <asp:Button ID="VoteButton" Text="Vote" runat="Server" OnClick="VoteButton_Click" SkinID="0" CssClass="btn btn-assign" />
                                                <asp:Button ID="ViewResultButton" Text="View Result" runat="Server" OnClick="ViewResultButton_Click" SkinID="0" CssClass="btn btn-assign" />
                                            </div>                                     
                                    </div>                                            
                                    
                                </asp:Panel>
                            </div>
                        </div>
                    </div>

                </div>
                </tr>
                    </table>                
            </div>
            </div>
            
        </ContentTemplate>
    </asp:UpdatePanel>
    <%-- <script data-main="../../JavaScript/rjs/encrypt/assign-organization-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/assign-organization")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
