<%@ Register TagPrefix="vts" Namespace="DataIllusion.NetPolls.WebControls" Assembly="NetPolls" %>
<%@ Register TagPrefix="uc1" TagName="PollListControl" Src="UserControls/PollListControl.ascx" %>
<%@ Page ValidateRequest="false" language="c#" Codebehind="PollCode.aspx.cs" AutoEventWireup="True" Inherits="DataIllusion.NetPolls.WebAdmin.PollCode" %>
<%@ Register TagPrefix="uc1" TagName="HeaderControl" Src="UserControls/HeaderControl.ascx" %>
<%@ Register TagPrefix="uc1" TagName="FooterControl" Src="UserControls/FooterControl.ascx" %>
<%@ Register TagPrefix="vts" Namespace="DataIllusion.NetPolls.WebControls" Assembly="NetPolls" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
  <HEAD>
    <title>NetPolls - The free poll engine</title>
<meta content="Microsoft Visual Studio .NET 7.1" name=GENERATOR>
<meta content=C# name=CODE_LANGUAGE>
<meta content=JavaScript name=vs_defaultClientScript>
<meta content=http://schemas.microsoft.com/intellisense/ie5 name=vs_targetSchema><LINK href="css/netpollsadmin.css" type=text/css rel=stylesheet >
  </HEAD>
<body leftMargin=0 topMargin=0 marginheight="0" 
marginwidth="0">
<form id=Form1 method=post runat="server">
<p align=center><br>
<table class=TableLayoutContainer cellSpacing=0 cellPadding=0>
  <tr>
    <td><uc1:headercontrol id=PollHeader runat="server"></uc1:headercontrol></TD></TR>
  <tr>
    <td class=contentCell vAlign=top><asp:label id=MessageLabel runat="server" Visible="False" ForeColor="Green"></asp:label>
      <TABLE class=Innertext>
        <TR>
          <TD colSpan=2><FONT class=Titlefont 
            >Poll Link</FONT> <BR 
            ><IMG src="Images/Linebreak.Gif" > </TD></TR>
        <TR>
        
        <tr>
        <td>
        <asp:HyperLink ID="CodeHyperLink" runat="server"></asp:HyperLink><br /><br />
        </td>
        </tr>
        </TABLE>
      <TABLE class=Innertext>
        <TR>
          <TD colSpan=2><FONT class=Titlefont 
            >Poll ASP.net code</FONT> <BR 
            ><IMG src="Images/Linebreak.Gif" > </TD></TR>
        <TR>
          <TD>&nbsp;&nbsp; </TD>
          <TD>
            <TABLE class=Innertext>
              <tr>
                <td>You must also include the following 
                  directive in the aspx pages that will display the poll or the 
                  results:<br><font size=1 
                  >&lt;%@ Register TagPrefix="vts" 
                  Namespace="DataIllusion.NetPolls.WebControls" Assembly="NetPolls" 
                  %&gt;</FONT><br><br>
                  <table>
                    <tr>
                      <td vAlign=top><vts:pollbox id=PollPreview runat="server" ShowTotalVotesPreview="true" CookieReleaseTimeOut="120" CookieBlocking="false" IPReleaseTimeOut="120" IPBlocking="false" CellPadding="0" CellSpacing="1" BackColor="black" BarColor="red" Width="150">
									<HeadStyle Font-Names="Arial" Font-Size="10pt" Font-Bold="True" ForeColor="White" BackColor="#333399"></HeadStyle>
									<QuestionStyle Font-Names="Arial" Font-Size="10pt" Font-Bold="True" ForeColor="black" BackColor="#E0E7EC"></QuestionStyle>
									<AnswerStyle Font-Names="Arial" Font-Size="10pt" BackColor="#C2C9DA"></AnswerStyle>
									<ButtonStyle Font-Size="12px" Font-Names="Verdana,Arial" Font-Bold="True"></ButtonStyle>
									<FootStyle Font-Names="Arial" Font-Size="10pt" Font-Bold="True" ForeColor="White" BackColor="#333399"></FootStyle>
							</vts:PollBox></TD>
                      <td vAlign=top><asp:textbox id=tbNetSource runat="server" Columns="65" Rows="20" Wrap="false" TextMode="MultiLine"></asp:textbox></TD>
                    <tr 
            ></TR></TABLE></TD></TR></TABLE></TD></TR></TABLE><br 
      >
      <TABLE class=Innertext>
        <TR>
          <TD colSpan=2><FONT class=Titlefont 
            >Results ASP.net code (Optional)</FONT> <BR 
            ><IMG src="Images/Linebreak.Gif" > </TD></TR>
        <TR>
          <TD>&nbsp;&nbsp; </TD>
          <TD>
            <TABLE class=Innertext>
              <tr>
                <td>
                  <table>
                    <tr>
                      <td vAlign=top><vts:resultsbox id=ResultsPreview runat="server" CellPadding="0" CellSpacing="1" BackColor="black" BarColor="red" Width="150" PollId="-1">
<FootStyle Font-Size="10pt" Font-Names="Arial" Font-Bold="True" ForeColor="White" BackColor="#333399">
</FootStyle>

<HeadStyle Font-Size="10pt" Font-Names="Arial" Font-Bold="True" ForeColor="White" BackColor="#333399">
</HeadStyle>

<QuestionStyle Font-Size="10pt" Font-Names="Arial" Font-Bold="True" ForeColor="Black" BackColor="#E0E7EC">
</QuestionStyle>

<AnswerStyle Font-Size="10pt" Font-Names="Arial" BackColor="#C2C9DA">
</AnswerStyle>
</vts:ResultsBox></TD>
                      <td vAlign=top><asp:textbox id=tbResultsNetSource runat="server" Columns="65" Rows="18" Wrap="false" TextMode="MultiLine"></asp:textbox></TD>
                    <tr 
            ></TR></TABLE></TD></TR></TABLE></TD></TR></TABLE></TD></TR><uc1:footercontrol id=Footer runat="server"></uc1:footercontrol></TABLE></P></FORM>

</body>
</HTML>
