ASP.NET 3.5 and above only

Poll - Results - Fill With Empty Space


Fill With Empty Space


Favorite Movie
What is your favorite movie?
  • The Shawshank Redemption (1122 votes)
    20.59%
  • The Godfather (1305 votes)
    23.95%
  • Star Wars (1601 votes)
    29.39%
  • Schindler's List (732 votes)
    13.44%
  • Pulp Fiction (688 votes)
    12.63%
Use the ResultStyle.FillWithEmptySpace property to indicate whether the results should be filled with empty space.
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">
    <ResultStyle DisplayVotes="true" />
</obout:Poll>
CS
protected void Page_load(object sender, EventArgs e)
{
Poll1.ResultStyle.FillWithEmptySpace = OboutCheckBox1.Checked;
}

"Obout Combobox is a wonderful control!"

Shivani

Random testimonial   All testimonials