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>

"I just waned to give you all many thanks for the level of support you provide. I have dealt with a few 3rd party software providers and have never seen this level of support anywhere. This on top of an awesome set of .NET controls that adds so much to a web application. I can't thank you guys enough. Keep up the good work and I look forward to seeing even more first class controls from Obout."

Mohsen Kashani
Contractor

Random testimonial   All testimonials