ASP.NET 3.5 and above only

Poll - Voting - Single Answer


Favorite Movie
What is your favorite movie?
  • The Shawshank Redemption
  • The Godfather
  • Star Wars
  • Schindler's List
  • Pulp Fiction
Vote
Show Results
The Poll control offers two voting modes, which can be enabled using the VotingMode property:
  • SingleAnswer - the Poll will display a radio button next to each item and thus the end users may select only one answer;
  • MultipleAnswers - the Poll will display a check box next to each item and thus the end users may select multiple answers.
ASP.NET
<%@ Register Assembly="Obout.Ajax.UI" Namespace="Obout.Ajax.UI.Poll" TagPrefix="obout" %>
<obout:Poll runat="server" ID="Poll1" DataSourceID="SqlDataSource1" 
     VotingMode="SingleAnswer" Title="Favorite Movie"
     Question="What is your favorite movie?">
</obout:Poll>

"Thanks, all my problems are solved, great products... Thanks again!"

Tony Chen

Random testimonial   All testimonials