You are here: Ektron Namespace > Server Controls API > Ektron.Cms Namespace > Ektron.Cms.Controls Namespace > Classes > Poll Class
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
Poll Class

The Poll Server Control displays a poll or survey created from an Ektron CMS400.NET form on a Web page.

C#
[DefaultProperty("DefaultFormID")]
[ToolboxData("<{0}:Poll runat=server></{0}:Poll>")]
[ToolboxBitmap("Poll.bmp")]
public class Poll : Ektron.Cms.Controls.FormBlock, ICallbackEventHandler;
Visual Basic
<DefaultProperty("DefaultFormID")>
<ToolboxData("<{0}:Poll runat=server></{0}:Poll>")>
<ToolboxBitmap("Poll.bmp")>
Public Class Poll
Inherits Ektron.Cms.Controls.FormBlock
Inherits ICallbackEventHandler

Poll.cs

Name 
Description 
The methods of the Poll class are listed here. 
The properties of the Poll class are listed here. 
 
Name 
Description 
 
Fill 
Fills in the poll area with the content information from the content database. The form data is retrieved and displayed. Only use if the content must be refreshed after an form ID change or other operation that will require regenerating the display.  
 
Overrideable method that can be used to wrap an Ektron toolbar corresponding to a particular Control around some Html text.  
 
Name 
Description 
 
Determines if the results will show in the area of the page that contains the poll. If the value is 'true' then the results will be shown in the area containing the poll without any modification or refresh of the surrounding contents. Otherwise, the poll results are displayed in place of the page content.  
 
Gets or Sets the Default FormID for this Control.  
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!