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>

"Your editor is excellent! It feels robust, the styles work, everything works! Really nice to find good software - and software that really works as shown!"

David Sheardown

Random testimonial   All testimonials