<%@ Page language="c#" Codebehind="QuickHelp.aspx.cs" AutoEventWireup="True" Inherits="DataIllusion.NetPolls.WebAdmin.PollStats" %>
<%@ Register TagPrefix="uc1" TagName="HeaderControl" Src="UserControls/HeaderControl.ascx" %>
<%@ Register TagPrefix="uc1" TagName="FooterControl" Src="UserControls/FooterControl.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
  <HEAD>
    <title>NetPolls - The free poll engine</title>
    <meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
    <meta name="CODE_LANGUAGE" Content="C#">
    <meta name=vs_defaultClientScript content="JavaScript">
    <meta name=vs_targetSchema content="http://schemas.microsoft.com/intellisense/ie5"><LINK 
href="css/netpollsadmin.css" type=text/css 
rel=stylesheet >
  </HEAD>
<body marginwidth=0 marginheight=0 topmargin=0 leftmargin=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">
	<Table Class="Innertext">
	<Tr>
	<Td Colspan="2">
	<Font Class="Titlefont">Netpolls Quick help</Font>
	<Br><Img Src="Images/Linebreak.Gif">
	</Td>
	</Tr>
	<Tr>
	<Td>
	&nbsp;&nbsp;
	</Td>
	<Td>
		<Table Class="smallText" >
			<tr><td>
					NetPolls is a powerful .NET web control that will let you create any poll in seconds. 
					It is very easy to use and is composed of two key controls that are documented below :<br><br>	
			</td></tr>
		</Table>	
	</Td>
	</Tr>
	</Table>

	<Table Class="Innertext">
	<Tr>
	<Td Colspan="2">
	<Font Class="Titlefont">The PollBox web control references</Font>
	<Br><Img Src="Images/Linebreak.Gif">
	</Td>
	</Tr>
	<Tr>
	<Td>
	&nbsp;&nbsp;
	</Td>
	<Td>
		<Table Class="smallText" >
			<tr><td>
					The poll box web control shows all answers of your poll in the specified format. This control can
					be used directly with the VS.NET visual designer or web matrix, however real questions / answers of your poll will 
					only show up on a page served by IIS.<br><br>
					Public properties of the control are :<ul>
                      <li><b>PollId</b> : Id of the poll you wish to display.<br>
Setting this property to 0 will enable 
                    the automatic activation on the control and will show the 
                    current poll that is set as enabled. Very usefull if you 
                    dont want to update your code again and again when you 
                    change your poll topic. 
                      <li><b>IPBlocking</b> (true / false) : Choose 
                    if you want to prevent visitors to vote twice on your poll. 
                    IPs will be recorded in the database. 
                      <li><b>IPReleaseTimeOut</b> : Number of 
                    minutes delay until a visitor can vote again if its IP has 
                    been blocked. 
                      <li><b>CookieBlocking</b>&nbsp; (true / false) 
                    : Set a cookie on the visitor browser to prevent double 
                    votes. 
                      <li><b>CookieReleaseTimeOut</b> : Number of 
                    minutes delay until a visitor can vote again his browser has 
                    received a cookie. 
                      <li><b>ShowTotalVotesPreview</b> (true / 
                    false) : Choose if you want to show the total of voters in 
                    the poll box. 
                      <li><b>ShowOnlyPercent</b> (true / false): 
                    Select if you want to show detailed results or only results 
                    with percents. 
                      <li><b>ShowTitle</b> (true / false): Select if 
                    you want to display the poll title.                      
                      <li><b>RedirectionURL : </b>Set a destination 
                    URL once a visitor has voted. URL must be fully qualified. 
                    Eg: http://www.yourwebsite.com/thanksforvoting.aspx 
                      <li><b>ArchivePageURL : </b>Set the URL of 
                    your archive page. The archive link will online apear if 
                    your set this property. You will find a quick example of 
                    page in the /template directory. 
                      <li><b>BarColor : </b>Color of the results bar, these are the colors available 
                    yet, feel free to add your own bar image : Black, Blue, 
                    Cyan, Green, Grey, Purple, Red, Yellow. 
                      <li><b>ButtonText </b>: Text of the vote submit button. 
                      <li><b>AnswerSelectionText </b>: Text used in 
                    dropdownlist type answers. 
                      <li><b>ResultsTotalOfVotesText </b>:Text shown 
                    in the results box. 
                      <li><b>ArchiveLinkText </b>:Text of the link 
                    that will lead to the archive page. 
                      <li><b>HeadStyle </b>: Set your own style for the poll header, for an example 
                    please check the preset code generated by the Web control 
                    generator or you can use VS.NET to create it. 
                      <li><b>FootStyle </b>: Set your own style for the poll footer, for an example 
                    please check the preset code generated by the Web control 
                    generator or you can use VS.NET to create it. 
                      <li><b>QuestionStyle </b>: Set your own style 
                    for the poll's questions cells, for an example please check 
                    the preset code generated by the Web control generator or 
                    you can use VS.NET to create it. 
                      <li><b>AnswerStyle </b>: Set your own style for the poll answers cells, for an 
                    example please check the preset code generated by the Web 
                    control generator or you can use VS.NET to create it. 
                      <li><b>ButtonStyle </b>: Set your own style for the submit 
                      button, for an example please check the preset code 
                      generated by the Web control generator or you can use 
                      VS.NET to create it.</li>
                    </ul>			
			</td></tr>
		</Table>	
	</Td>
	</Tr>
	</Table>

	<Table Class="Innertext">
	<Tr>
	<Td Colspan="2">
	<Font Class="Titlefont">The ResultsBox web control references</Font>
	<Br><Img Src="Images/Linebreak.Gif">
	</Td>
	</Tr>
	<Tr>
	<Td>
	&nbsp;&nbsp;
	</Td>
	<Td>
		<Table Class="smallText" >
			<tr><td>
					The results box web control is "optional". It can be used for example on 
					a separate page that act as an archive page and lists all polls results.<br><br>
					Public properties of the control are :<ul>
                      <li><b>PollId</b> : Id of the poll for which you want to display the results.<br>
                                            Setting this property to 0 
                    will enable the automatic activation on the control and will 
                    show the current results of the poll that is set as enabled. 
                    Very usefull if you dont want to update your code again and 
                    again when you change your poll topic. 
                      <li><b>BarColor : </b>Color of the results bar, these are the colors available 
                    yet, feel free to add your own bar image : Black, Blue, 
                    Cyan, Green, Grey, Purple, Red, Yellow. 
                      <li><b>ShowOnlyPercent</b> (true / false): 
                    Select if you want to show detailed results or only results 
                    with percents.                      
                      <li><b>ShowTitle</b> (true / false): Select if 
                    you want to display the poll title.                      
                      <li><b>ResutlsTotalOfVotesText </b>:Text shown 
                    in the results box. 
                      <li><b>HeadStyle </b>: Set your own style for the poll header, for an example 
                    please check the preset code generated by the Web control 
                    generator or you can use VS.NET to create it. 
                      <li><b>FootStyle </b>: Set your own style for the poll footer, for an example 
                    please check the preset code generated by the Web control 
                    generator. 
                      <li><b>QuestionStyle </b>: Set your own style 
                    for the poll's questions cells, for an example please check 
                    the preset code generated by the Web control generator. 
                      <li><b>AnswerStyle </b>: Set your own style for the poll 
                      answers cells, for an example please check the preset code 
                      generated by the Web control generator.</li>
                    </ul>			
			</td></tr>
		</Table>	
	</Td>
	</Tr>
	</Table>

</td></tr>
<uc1:footercontrol id=Footer runat="server"></uc1:footercontrol>
</table></p></form>

</body>
</HTML>
