Sitefinity CMS

Polls Public Controls Send comments on this topic.
See Also
Sitefinity Building Parts > Modules > Polls > Polls Public Controls

Glossary Item Box

This topic provides a description of the public controls of the Polls module available in Page Edit mode:

  • Poll Box

Polls Public Controls

Figure 1

Poll Box

Description 

This is the Polls public control. It displays one poll.

 

Figure 2 shows what the PollBox control displays after added to a page. The control is bound to an already created poll item. For more on poll items creation and manipulation, see Polls Overview

Polls Public Controls - Poll Box Content Display

Figure 2

 

Figure 3 shows the result displayed after choosing the first answer and clicking the Vote button:

Polls Public Controls - Poll Box Result Display

Figure 3

 

Setting the Public Controls

Following are some basic settings that need to be made to work with the Poll Box control:

  1. Data section: PollId should contain the ID of the poll item to be displayed. Use the Select button to choose which item to bind to the control
  2. Behavior section: Visible should be True
  3. General section: ResultsBox could be edited by clicking the Edit button and setting the given properties
  4. Misc section: ThankYouMessage could be set to the message displayed after the user has voted
  5. Misc section: ShowResults should be True if the results should be displayed right after each voting
  6. Paging section: AllowPaging to True
  7. Security section: IPBlocking to True if a user should not be allowed from one and the same computer more than once 
  8. Text section: TotalVotersText should be set to the text which will display the number of votes accepted so far
  9. Text section: ButtonText should be set to the text of the button used to enter the vote

 

Figure 3 illustrates the available sections for the Properties of BlogPosts:  

Polls Public Controls - Poll Box Properties Sections

Figure 3 

 

See Also