ASP.NET 3.5 and above only

Poll - Appearance - Customize Styles


Favorite Movie
What is your favorite movie?
  • The Shawshank Redemption
  • The Godfather
  • Star Wars
  • Schindler's List
  • Pulp Fiction
Vote
Show Results
 
Answers Font
Size:
Styles:
Bold
Italic
Color:
Results Font
Size:
Styles:
Bold
Italic
Color:




Title Font
Size:
Styles:
Bold
Italic
Color:
Question Font
Size:
Styles:
Bold
Italic
Color:
The Poll control offers various properties for customizing the styles of its elements:
  • AnswerStyle - used to specify the styles for the answers;
  • ResultStyle - used to specify the styles for the results;
  • QuestionStyle - used to specify the styles for the question line;
  • TitleStyle - used to specify the styles for the title heading.
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="Pick your favorite movies">
</obout:Poll>

"Thank you very much for your support. It is actually quite nice to receive lightning fast responses especially when one is on the other side of the world."

Clinton Morrison

Random testimonial   All testimonials