ASP.NET 3.5 and above only

Poll - Validation - Single Vote - Min Answers


Users need to select an 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 the MinAnswers property which can be used to indicate the minimum number of answers a user is required to select. For Polls using the single answer voting mode the possible values for MinAnswers are 1 and 0.
ASP.NET
<%@ Register Assembly="Obout.Ajax.UI" Namespace="Obout.Ajax.UI.Poll" TagPrefix="obout" %>
<obout:Poll runat="server" ID="Poll1" DataSourceID="SqlDataSource1" 
     Title="Favorite Movie" Question="What is your favorite movie?"
     AllowedVotesPerUser="100" VotingMode="SingleAnswer" >
</obout:Poll>

"Let me start by saying I love your products, they are by far the best I've used."

T. Bradley
Hansons

Random testimonial   All testimonials