Properties
The following is a list of the available web control properties:
| Property | Description |
|---|---|
| ID | The web control unique ID. |
| XmlFilePath | Gets or sets a physical XML file path of the survey. |
| Xml | Gets or sets the survey XML definition direct to the control without specifying a physical file path. |
| CssClass | The CSS class of the web control. |
| PreviewButtonUrl | The URL of the survey preview page. This page will have the survey viewer web control. |
| PreviewButtonText | The text to be displayed in the Preview button. |
| PreviewButtonVisible | Specify if the preview button should be displayed or not. |
| CancelButtonUrl | The URL of the custom cancel page. This can be a relative URL or a full URL. |
| CancelButtonText | The text to be displayed in the Cancel button. |
| CancelButtonVisible | Specify if the Cancel button should be displayed or not. |
| ImagesExtensions | Gets or sets the allowed image files extensions. Ex: png|jpeg|bmp |
| AudioExtensions | Gets or sets the allowed audio file extensions. Ex. mp3|wav|3gp |
| VideoExtensions | Gets or sets the allowed video extensions. Ex. avi|mpeg|mov |
| EnableMedia | Gets or sets if uploading media is enabled in the web control or not. |
| EnableBranching | Gets or sets if defining branching rules is enabled in the web control or not. |
| MaxChoicesCount | Gets or sets the maximum allowed number of choices to be added per question. |
| MaxPagesCount | Gets or sets the maximum allowed number of pages to be added per survey. |
| MediaUploadPath | Gets or sets the path where that media files will be uploaded. |
| LocalizationXmlFile | Gets or sets the localization XML file of the web control. |