C# Class Engage.Dnn.Survey.SurveyListing

Show file Open project: EngageSoftware/Engage-Survey

Protected Properties

Property Type Description
ActionButtonsPlaceholder global::System.Web.UI.WebControls.PlaceHolder
NewSurveyButton global::System.Web.UI.WebControls.LinkButton
SurveyGrid global::System.Web.UI.WebControls.Repeater

Protected Methods

Method Description
OnInit ( EventArgs e ) : void

Raises the Control.Init event.

Private Methods

Method Description
BindData ( ) : void

Binds the data.

BuildAnalyzeUrl ( int surveyId ) : string

Builds the URL to analyze the responses for the given survey.

BuildEditUrl ( int surveyId ) : string

Builds the URL to edit the given survey.

BuildNewUrl ( ) : string

Builds the URL to create a new survey.

BuildPreviewUrl ( int surveyId ) : string

Build the URL to the read-only preview of the given survey.

NewSurveyButton_Click ( object sender, EventArgs e ) : void

Handles the LinkButton.Click event of the NewSurveyButton control.

Page_Load ( object sender, EventArgs e ) : void

Handles the Control.Load event of this control.

SurveyDataGrid_OnItemDataBound ( object sender, RepeaterItemEventArgs e ) : void

Handles the Repeater.ItemDataBound event of the SurveyGrid control.

Method Details

OnInit() protected method

Raises the Control.Init event.
protected OnInit ( EventArgs e ) : void
e EventArgs The instance containing the event data.
return void

Property Details

ActionButtonsPlaceholder protected property

ActionButtonsPlaceholder control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.PlaceHolder ActionButtonsPlaceholder
return global::System.Web.UI.WebControls.PlaceHolder

NewSurveyButton protected property

NewSurveyButton control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.LinkButton NewSurveyButton
return global::System.Web.UI.WebControls.LinkButton

SurveyGrid protected property

SurveyGrid control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Repeater SurveyGrid
return global::System.Web.UI.WebControls.Repeater