C# Класс Engage.Dnn.Survey.AnalyzeResponses

Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
ChartsPanel global::System.Web.UI.WebControls.Panel
ResponseGridPlaceholder global::System.Web.UI.WebControls.PlaceHolder

Private Properties

Свойство Тип Описание
CreateGraphs void
CreateGrid void
GetAnswerLabel string
GetExportFilename string
GetQuestionLabel string
GetQuestionTextColumnName string
GetRelativeOrderColumnName string
GetUser string
Page_Load void
PivotQuestions DataTable
RemoveInvalidCharacters string
ResponseGrid_ItemCreated void
ResponseGrid_NeedDataSource void

Защищенные методы

Метод Описание
OnInit ( EventArgs e ) : void

Raises the Control.Init event.

Приватные методы

Метод Описание
CreateGraphs ( ) : void

Creates the graphs for each question.

CreateGrid ( ) : void

Creates the ResponseGrid.

Because we're creating the question columns dynamically, it's easier to just create the whole grid dynamically

GetAnswerLabel ( int relativeOrder, string answerText, bool asHtml ) : string

Gets the text label for an answer.

GetExportFilename ( ) : string

Gets the name of the file when exporting data

GetQuestionLabel ( int relativeOrder, string questionText, bool asHtml ) : string

Gets the text label for a question.

GetQuestionTextColumnName ( int questionId ) : string

Gets the name of the column for the question text.

GetRelativeOrderColumnName ( int questionId ) : string

Gets the name of the column for the question's order.

GetUser ( int userId ) : string

Gets the name of the user.

Page_Load ( object sender, EventArgs e ) : void

Handles the Control.Load event of this control.

PivotQuestions ( Response>.IQueryable responsesByHeader ) : DataTable

Pivots the questions into columns.

RemoveInvalidCharacters ( string filename ) : string

Replaces characters in the given filename which are invalid for filenames.

ResponseGrid_ItemCreated ( object sender, GridItemEventArgs e ) : void

Handles the RadGrid.ItemCreated event of the ResponseGrid control.

ResponseGrid_NeedDataSource ( object source, GridNeedDataSourceEventArgs e ) : void

Handles the RadGrid.NeedDataSource event of the ResponseGrid control.

Описание методов

OnInit() защищенный Метод

Raises the Control.Init event.
protected OnInit ( EventArgs e ) : void
e EventArgs The instance containing the event data.
Результат void

Описание свойств

ChartsPanel защищенное свойство

ChartsPanel control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Panel ChartsPanel
Результат global::System.Web.UI.WebControls.Panel

ResponseGridPlaceholder защищенное свойство

ResponseGridPlaceholder control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.PlaceHolder ResponseGridPlaceholder
Результат global::System.Web.UI.WebControls.PlaceHolder