C# Class Engage.Survey.Entities.ReadonlySurvey

Represents a read-only survey.
Inheritance: ISurvey
Show file Open project: EngageSoftware/Engage-Survey

Public Methods

Method Description
GetSection ( string sectionId ) : ISection

Gets the section.

GetSections ( ) : List

Gets the sections.

PostSaveProcessing ( WebControl control ) : void

Posts the save processing.

PreSaveProcessing ( WebControl control ) : void

Pres the save processing.

Render ( System.Web.UI.WebControls.PlaceHolder placeHolder, bool readOnly, bool showRequiredNotation, ValidationProviderBase validationProvider, ILocalizer localizer ) : void

Renders the survey from this survey.

Render ( System.Web.UI.WebControls.Table table, ILocalizer localizer ) : void

Renders the survey from this survey.

Save ( int userId ) : int

Saves this instance.

Method Details

GetSection() public method

Gets the section.
public GetSection ( string sectionId ) : ISection
sectionId string The section id.
return ISection

GetSections() public method

Gets the sections.
public GetSections ( ) : List
return List

PostSaveProcessing() public method

Posts the save processing.
public PostSaveProcessing ( WebControl control ) : void
control System.Web.UI.WebControls.WebControl The control.
return void

PreSaveProcessing() public method

Pres the save processing.
public PreSaveProcessing ( WebControl control ) : void
control System.Web.UI.WebControls.WebControl The control.
return void

Render() public method

Renders the survey from this survey.
public Render ( System.Web.UI.WebControls.PlaceHolder placeHolder, bool readOnly, bool showRequiredNotation, ValidationProviderBase validationProvider, ILocalizer localizer ) : void
placeHolder System.Web.UI.WebControls.PlaceHolder The place holder.
readOnly bool if set to true [read only].
showRequiredNotation bool if set to true [show required notation].
validationProvider ValidationProviderBase The validation provider.
localizer ILocalizer Localizes text.
return void

Render() public method

Renders the survey from this survey.
public Render ( System.Web.UI.WebControls.Table table, ILocalizer localizer ) : void
table System.Web.UI.WebControls.Table The HTML table to put the survey into.
localizer ILocalizer Localizes text.
return void

Save() public method

Saves this instance.
public Save ( int userId ) : int
userId int The ID of the user saving this instance
return int