Table of Contents

Class WorkshopQuestionRepeater

Namespace
InSite.Admin.Assessments.Questions.Controls
Assembly
InSite.UI.dll
public class WorkshopQuestionRepeater : BaseUserControl, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IFilterResolutionService, IAttributeAccessor, INamingContainer, IUserControlDesignerAccessor
Inheritance
WorkshopQuestionRepeater
Implements
Inherited Members

Constructors

WorkshopQuestionRepeater()

public WorkshopQuestionRepeater()

Fields

GridStyle

GridStyle control.

protected PageHeadContent GridStyle

Field Value

PageHeadContent

Remarks

Auto-generated field. To modify move field declaration from designer file to code-behind file.

MainPanel

MainPanel control.

protected HtmlGenericControl MainPanel

Field Value

HtmlGenericControl

Remarks

Auto-generated field. To modify move field declaration from designer file to code-behind file.

Repeater

Repeater control.

protected Repeater Repeater

Field Value

Repeater

Remarks

Auto-generated field. To modify move field declaration from designer file to code-behind file.

_returnUrl

protected ReturnUrl _returnUrl

Field Value

ReturnUrl

Properties

Bank

protected BankState Bank { get; set; }

Property Value

BankState

BankID

protected Guid BankID { get; set; }

Property Value

Guid

CompetencyLists

protected string CompetencyLists { get; }

Property Value

string

EntityID

protected Guid EntityID { get; set; }

Property Value

Guid

EntityType

protected BankEntityType EntityType { get; set; }

Property Value

BankEntityType

FlagList

protected string FlagList { get; }

Property Value

string

SectionID

protected Guid SectionID { get; set; }

Property Value

Guid

SetID

protected Guid SetID { get; set; }

Property Value

Guid

StatusList

protected string StatusList { get; }

Property Value

string

TaxonomyList

protected string TaxonomyList { get; }

Property Value

string

Methods

DisplayRationale(object)

protected static string DisplayRationale(object item)

Parameters

item object

Returns

string

GetAnalysisUrl(DataItem)

protected string GetAnalysisUrl(WorkshopQuestionRepeater.DataItem item)

Parameters

item WorkshopQuestionRepeater.DataItem

Returns

string

GetBooleanTableOptionIcon(bool?, bool)

protected string GetBooleanTableOptionIcon(bool? isTrue, bool answer)

Parameters

isTrue bool?
answer bool

Returns

string

GetChangeUrl(DataItem)

protected string GetChangeUrl(WorkshopQuestionRepeater.DataItem item)

Parameters

item WorkshopQuestionRepeater.DataItem

Returns

string

GetCollectionItems(string)

public static List<TCollectionItem> GetCollectionItems(string collection)

Parameters

collection string

Returns

List<TCollectionItem>

GetCollectionItemsAsDictionary(string)

public static Dictionary<int, TCollectionItem> GetCollectionItemsAsDictionary(string collection)

Parameters

collection string

Returns

Dictionary<int, TCollectionItem>

GetCompetencyTitle(Guid, Guid)

protected string GetCompetencyTitle(Guid setID, Guid standard)

Parameters

setID Guid
standard Guid

Returns

string

GetCompetencyTitle(Guid, Guid, Guid, PublicationStatus)

protected string GetCompetencyTitle(Guid setID, Guid standard, Guid questionId, PublicationStatus status)

Parameters

setID Guid
standard Guid
questionId Guid
status PublicationStatus

Returns

string

GetFlagHtml(FlagType)

protected string GetFlagHtml(FlagType flag)

Parameters

flag FlagType

Returns

string

GetMultipleCorrectOptionIcon(bool?)

protected string GetMultipleCorrectOptionIcon(bool? isTrue)

Parameters

isTrue bool?

Returns

string

GetOptionPoints(decimal)

protected string GetOptionPoints(decimal points)

Parameters

points decimal

Returns

string

GetOptionPointsEditable()

protected string GetOptionPointsEditable()

Returns

string

GetOptionRepeaterTableHead(string, string)

protected string GetOptionRepeaterTableHead(string prefix, string postfix)

Parameters

prefix string
postfix string

Returns

string

GetOptionRepeaterTableHeadTitleCols()

protected string GetOptionRepeaterTableHeadTitleCols()

Returns

string

GetOptionRepeaterTitle(RepeaterItem)

protected string GetOptionRepeaterTitle(RepeaterItem item)

Parameters

item RepeaterItem

Returns

string

GetReviewLabel(object)

protected string GetReviewLabel(object status)

Parameters

status object

Returns

string

GetSingleCorrectOptionIcon(decimal)

protected string GetSingleCorrectOptionIcon(decimal value)

Parameters

value decimal

Returns

string

Hide()

public void Hide()

LoadData(BankState, Section, IEnumerable<DataItem>, ReturnUrl)

public void LoadData(BankState bank, Section section, IEnumerable<WorkshopQuestionRepeater.DataItem> data, ReturnUrl returnUrl)

Parameters

bank BankState
section Section
data IEnumerable<WorkshopQuestionRepeater.DataItem>
returnUrl ReturnUrl

LoadData(Specification, IEnumerable<DataItem>, ReturnUrl)

public void LoadData(Specification specification, IEnumerable<WorkshopQuestionRepeater.DataItem> data, ReturnUrl returnUrl)

Parameters

specification Specification
data IEnumerable<WorkshopQuestionRepeater.DataItem>
returnUrl ReturnUrl

OnInit(EventArgs)

protected override void OnInit(EventArgs e)

Parameters

e EventArgs

Events

NeedRefresh

public event EventHandler NeedRefresh

Event Type

EventHandler

QuestionReplace

public event CommandEventHandler QuestionReplace

Event Type

CommandEventHandler