C# Class Sitecore.SharedSource.Analytics.Controls.Web.MultivariantReport

Inheritance: Sitecore.SharedSource.Analytics.Controls.AnalyticsControl
Show file Open project: Velir/Sitecore-Analytics

Protected Properties

Property Type Description
beginDatePicker global::Telerik.Web.UI.RadDateTimePicker
btnClear global::System.Web.UI.WebControls.Button
btnRun global::System.Web.UI.WebControls.Button
ddlGoal global::System.Web.UI.WebControls.DropDownList
ddlTest global::System.Web.UI.WebControls.DropDownList
endDatePicker global::Telerik.Web.UI.RadDateTimePicker
litAchievedGoal global::System.Web.UI.WebControls.Literal
litProgress global::System.Web.UI.WebControls.Literal
litTestEnded global::System.Web.UI.WebControls.Literal
litTestStarted global::System.Web.UI.WebControls.Literal
litTotalAchievedCount global::System.Web.UI.WebControls.Literal
litTotalVisitCount global::System.Web.UI.WebControls.Literal
plcAchievedGoalData global::System.Web.UI.WebControls.PlaceHolder
plcErrorPanel global::System.Web.UI.WebControls.PlaceHolder
plcReport global::System.Web.UI.WebControls.PlaceHolder
rptAchievedGoals global::System.Web.UI.WebControls.Repeater
rptErrors global::System.Web.UI.WebControls.Repeater

Protected Methods

Method Description
Page_Load ( object sender, EventArgs e ) : void
btnClear_Click ( object sender, EventArgs e ) : void

Reset form

btnRun_Click ( object sender, EventArgs e ) : void

Click Event for the Run button

ddlTest_SelectedIndexChanged ( object sender, EventArgs e ) : void

Change event for the Test dropdown

rptAchievedGoals_OnItemDataBound ( object sender, System.Web.UI.WebControls.RepeaterItemEventArgs e ) : void
rptErrors_OnItemDataBound ( object sender, System.Web.UI.WebControls.RepeaterItemEventArgs e ) : void

Private Methods

Method Description
GetVariationName ( string code ) : string

Takes a variation code from the database and returns the proper variation item name from sitecore

IsFormValid ( ) : List

Returns a list of errors

IsFormValid ( bool phase1Only ) : List

Returns a list of errors

LoadAchievedGoals ( ) : void

Displays the Achieved Goals datatable

LoadGoalDropdown ( ) : void

Loads the Goal Dropdown

LoadTestDropdown ( ) : void

Method to load the test dropdown

RunReport ( ) : void

Run Report

SetTestInformation ( ) : void

Fills out the report information section of the report

ShowErrors ( List errorList ) : void

Logic to show the error panel

Method Details

Page_Load() protected method

protected Page_Load ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

btnClear_Click() protected method

Reset form
protected btnClear_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

btnRun_Click() protected method

Click Event for the Run button
protected btnRun_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

ddlTest_SelectedIndexChanged() protected method

Change event for the Test dropdown
protected ddlTest_SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

rptAchievedGoals_OnItemDataBound() protected method

protected rptAchievedGoals_OnItemDataBound ( object sender, System.Web.UI.WebControls.RepeaterItemEventArgs e ) : void
sender object
e System.Web.UI.WebControls.RepeaterItemEventArgs
return void

rptErrors_OnItemDataBound() protected method

protected rptErrors_OnItemDataBound ( object sender, System.Web.UI.WebControls.RepeaterItemEventArgs e ) : void
sender object
e System.Web.UI.WebControls.RepeaterItemEventArgs
return void

Property Details

beginDatePicker protected property

beginDatePicker control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Telerik.Web.UI.RadDateTimePicker beginDatePicker
return global::Telerik.Web.UI.RadDateTimePicker

btnClear protected property

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

btnRun protected property

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

ddlGoal protected property

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

ddlTest protected property

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

endDatePicker protected property

endDatePicker control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Telerik.Web.UI.RadDateTimePicker endDatePicker
return global::Telerik.Web.UI.RadDateTimePicker

litAchievedGoal protected property

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

litProgress protected property

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

litTestEnded protected property

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

litTestStarted protected property

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

litTotalAchievedCount protected property

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

litTotalVisitCount protected property

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

plcAchievedGoalData protected property

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

plcErrorPanel protected property

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

plcReport protected property

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

rptAchievedGoals protected property

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

rptErrors protected property

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