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
Remarks
Auto-generated field. To modify move field declaration from designer file to code-behind file.
MainPanel
MainPanel control.
protected HtmlGenericControl MainPanel
Field Value
Remarks
Auto-generated field. To modify move field declaration from designer file to code-behind file.
Repeater
Repeater control.
protected Repeater Repeater
Field Value
Remarks
Auto-generated field. To modify move field declaration from designer file to code-behind file.
_returnUrl
protected ReturnUrl _returnUrl
Field Value
Properties
Bank
protected BankState Bank { get; set; }
Property Value
BankID
protected Guid BankID { get; set; }
Property Value
CompetencyLists
protected string CompetencyLists { get; }
Property Value
EntityID
protected Guid EntityID { get; set; }
Property Value
EntityType
protected BankEntityType EntityType { get; set; }
Property Value
FlagList
protected string FlagList { get; }
Property Value
SectionID
protected Guid SectionID { get; set; }
Property Value
SetID
protected Guid SetID { get; set; }
Property Value
StatusList
protected string StatusList { get; }
Property Value
TaxonomyList
protected string TaxonomyList { get; }
Property Value
Methods
DisplayRationale(object)
protected static string DisplayRationale(object item)
Parameters
itemobject
Returns
GetAnalysisUrl(DataItem)
protected string GetAnalysisUrl(WorkshopQuestionRepeater.DataItem item)
Parameters
Returns
GetBooleanTableOptionIcon(bool?, bool)
protected string GetBooleanTableOptionIcon(bool? isTrue, bool answer)
Parameters
Returns
GetChangeUrl(DataItem)
protected string GetChangeUrl(WorkshopQuestionRepeater.DataItem item)
Parameters
Returns
GetCollectionItems(string)
public static List<TCollectionItem> GetCollectionItems(string collection)
Parameters
collectionstring
Returns
GetCollectionItemsAsDictionary(string)
public static Dictionary<int, TCollectionItem> GetCollectionItemsAsDictionary(string collection)
Parameters
collectionstring
Returns
GetCompetencyTitle(Guid, Guid)
protected string GetCompetencyTitle(Guid setID, Guid standard)
Parameters
Returns
GetCompetencyTitle(Guid, Guid, Guid, PublicationStatus)
protected string GetCompetencyTitle(Guid setID, Guid standard, Guid questionId, PublicationStatus status)
Parameters
setIDGuidstandardGuidquestionIdGuidstatusPublicationStatus
Returns
GetFlagHtml(FlagType)
protected string GetFlagHtml(FlagType flag)
Parameters
flagFlagType
Returns
GetMultipleCorrectOptionIcon(bool?)
protected string GetMultipleCorrectOptionIcon(bool? isTrue)
Parameters
isTruebool?
Returns
GetOptionPoints(decimal)
protected string GetOptionPoints(decimal points)
Parameters
pointsdecimal
Returns
GetOptionPointsEditable()
protected string GetOptionPointsEditable()
Returns
GetOptionRepeaterTableHead(string, string)
protected string GetOptionRepeaterTableHead(string prefix, string postfix)
Parameters
Returns
GetOptionRepeaterTableHeadTitleCols()
protected string GetOptionRepeaterTableHeadTitleCols()
Returns
GetOptionRepeaterTitle(RepeaterItem)
protected string GetOptionRepeaterTitle(RepeaterItem item)
Parameters
itemRepeaterItem
Returns
GetReviewLabel(object)
protected string GetReviewLabel(object status)
Parameters
statusobject
Returns
GetSingleCorrectOptionIcon(decimal)
protected string GetSingleCorrectOptionIcon(decimal value)
Parameters
valuedecimal
Returns
Hide()
public void Hide()
LoadData(BankState, Section, IEnumerable<DataItem>, ReturnUrl)
public void LoadData(BankState bank, Section section, IEnumerable<WorkshopQuestionRepeater.DataItem> data, ReturnUrl returnUrl)
Parameters
bankBankStatesectionSectiondataIEnumerable<WorkshopQuestionRepeater.DataItem>returnUrlReturnUrl
LoadData(Specification, IEnumerable<DataItem>, ReturnUrl)
public void LoadData(Specification specification, IEnumerable<WorkshopQuestionRepeater.DataItem> data, ReturnUrl returnUrl)
Parameters
specificationSpecificationdataIEnumerable<WorkshopQuestionRepeater.DataItem>returnUrlReturnUrl
OnInit(EventArgs)
protected override void OnInit(EventArgs e)
Parameters
Events
NeedRefresh
public event EventHandler NeedRefresh
Event Type
QuestionReplace
public event CommandEventHandler QuestionReplace