/// <summary> /// Initializes a new instance of the <see cref="NumberUpDown"/> class. /// </summary> public NumberUpDown() : base() { RequiredFieldValidator = new HiddenFieldValidator(); RequiredFieldValidator.ValidationGroup = this.ValidationGroup; HelpBlock = new HelpBlock(); WarningBlock = new WarningBlock(); }
/// <summary> /// Initializes a new instance of the <see cref="GroupTypeGroupPicker"/> class. /// </summary> public GroupAndRolePicker() : base() { HelpBlock = new HelpBlock(); RequiredFieldValidator = new RequiredFieldValidator(); RequiredFieldValidator.ValidationGroup = this.ValidationGroup; }
/// <summary> /// Initializes a new instance of the <see cref="RockRadioButtonList"/> class. /// </summary> public RockRadioButtonList() : base() { RequiredFieldValidator = new RequiredFieldValidator(); RequiredFieldValidator.ValidationGroup = this.ValidationGroup; HelpBlock = new HelpBlock(); }
/// <summary> /// Initializes a new instance of the <see cref="SlidingDateRangePicker"/> class. /// </summary> public SlidingDateRangePicker() : base() { HelpBlock = new HelpBlock(); WarningBlock = new WarningBlock(); Label = "Date Range"; }
/// <summary> /// Initializes a new instance of the <see cref="NumberUpDown"/> class. /// </summary> public NumberUpDown() : base() { RequiredFieldValidator = new HiddenFieldValidator(); RequiredFieldValidator.ValidationGroup = this.ValidationGroup; HelpBlock = new HelpBlock(); }
/// <summary> /// Initializes a new instance of the <see cref="ButtonDropDownList"/> class. /// </summary> public ButtonDropDownList() : base() { RequiredFieldValidator = new HiddenFieldValidator(); RequiredFieldValidator.ValidationGroup = this.ValidationGroup; HelpBlock = new HelpBlock(); }
/// <summary> /// Initializes a new instance of the <see cref="RockDropDownList" /> class. /// </summary> public RockDropDownList() { RequiredFieldValidator = new RequiredFieldValidator(); RequiredFieldValidator.ValidationGroup = this.ValidationGroup; HelpBlock = new HelpBlock(); WarningBlock = new WarningBlock(); }
/// <summary> /// Initializes a new instance of the <see cref="ImageUploader"/> class. /// </summary> public ImageUploader() : base() { HelpBlock = new HelpBlock(); _hfBinaryFileId = new HiddenField(); _hfBinaryFileTypeGuid = new HiddenField(); }
/// <summary> /// Initializes a new instance of the <see cref="NumberUpDownGroup"/> class. /// </summary> public NumberUpDownGroup() : base() { GroupCustomValidator = new CustomValidator(); HelpBlock = new HelpBlock(); WarningBlock = new WarningBlock(); }
/// <summary> /// Initializes a new instance of the <see cref="GeoPicker" /> class. /// </summary> public GeoPicker() { RequiredFieldValidator = new HiddenFieldValidator(); HelpBlock = new HelpBlock(); _btnSelect = new HtmlAnchor(); _btnSelectNone = new HtmlAnchor(); }
/// <summary> /// Initializes a new instance of the <see cref="GeoPicker" /> class. /// </summary> public GeoPicker() { RequiredFieldValidator = new HiddenFieldValidator(); HelpBlock = new HelpBlock(); _btnSelect = new HtmlAnchor(); _btnSelectNone = new HtmlAnchor(); }
/// <summary> /// Initializes a new instance of the <see cref="DateRangePicker"/> class. /// </summary> public DateRangePicker() : base() { RequiredFieldValidator = new HiddenFieldValidator(); HelpBlock = new HelpBlock(); WarningBlock = new WarningBlock(); }
/// <summary> /// Initializes a new instance of the <see cref="ItemPicker" /> class. /// </summary> public ItemPicker() : base() { RequiredFieldValidator = new HiddenFieldValidator(); HelpBlock = new HelpBlock(); WarningBlock = new WarningBlock(); }
/// <summary> /// Initializes a new instance of the <see cref="DateRangePicker"/> class. /// </summary> public DateRangePicker() : base() { CustomValidator = new CustomValidator(); HelpBlock = new HelpBlock(); WarningBlock = new WarningBlock(); }
/// <summary> /// Initializes a new instance of the <see cref="GroupTypeGroupPicker"/> class. /// </summary> public GroupAndRolePicker() : base() { HelpBlock = new HelpBlock(); RequiredFieldValidator = new RequiredFieldValidator(); RequiredFieldValidator.ValidationGroup = this.ValidationGroup; }
/// <summary> /// Initializes a new instance of the <see cref="ItemFromBlockPicker" /> class. /// </summary> public ItemFromBlockPicker() : base() { RequiredFieldValidator = new HiddenFieldValidator(); HelpBlock = new HelpBlock(); WarningBlock = new WarningBlock(); }
/// <summary> /// Initializes a new instance of the <see cref="RockRadioButtonList"/> class. /// </summary> public RockRadioButtonList() : base() { RequiredFieldValidator = new RequiredFieldValidator(); RequiredFieldValidator.ValidationGroup = this.ValidationGroup; HelpBlock = new HelpBlock(); }
/// <summary> /// Initializes a new instance of the <see cref="BirthdayPicker"/> class. /// </summary> public SSNBox() : base() { RequiredFieldValidator = new HiddenFieldValidator(); HelpBlock = new HelpBlock(); WarningBlock = new WarningBlock(); }
/// <summary> /// Initializes a new instance of the <see cref="RockTextBox" /> class. /// </summary> public CodeEditor() : base() { RequiredFieldValidator = new RequiredFieldValidator(); HelpBlock = new HelpBlock(); WarningBlock = new WarningBlock(); }
/// <summary> /// Initializes a new instance of the <see cref="ButtonDropDownList"/> class. /// </summary> public ButtonDropDownList() : base() { RequiredFieldValidator = new HiddenFieldValidator(); RequiredFieldValidator.ValidationGroup = this.ValidationGroup; HelpBlock = new HelpBlock(); }
/// <summary> /// Initializes a new instance of the <see cref="PersonPicker" /> class. /// </summary> public PersonPicker() { // note we are using HiddenFieldValidator instead of RequiredFieldValidator RequiredFieldValidator = new HiddenFieldValidator(); HelpBlock = new HelpBlock(); }
/// <summary> /// Initializes a new instance of the <see cref="PersonPicker" /> class. /// </summary> public PersonPicker() { // note we are using HiddenFieldValidator instead of RequiredFieldValidator RequiredFieldValidator = new HiddenFieldValidator(); HelpBlock = new HelpBlock(); }
/// <summary> /// Initializes a new instance of the <see cref="ImageUploader"/> class. /// </summary> public ImageUploader() : base() { HelpBlock = new HelpBlock(); _hfBinaryFileId = new HiddenField(); _hfBinaryFileTypeGuid = new HiddenField(); }
/// <summary> /// Initializes a new instance of the <see cref="SlidingDateRangePicker"/> class. /// </summary> public SlidingDateRangePicker() : base() { HelpBlock = new HelpBlock(); WarningBlock = new WarningBlock(); Label = "Date Range"; }
/// <summary> /// Initializes a new instance of the <see cref="RockListBox" /> class. /// </summary> public RockListBox() { RequiredFieldValidator = new RequiredFieldValidator(); RequiredFieldValidator.ValidationGroup = this.ValidationGroup; HelpBlock = new HelpBlock(); WarningBlock = new WarningBlock(); }
/// <summary> /// Initializes a new instance of the <see cref="FileUploader" /> class. /// </summary> public FileUploader() : base() { RequiredFieldValidator = new HiddenFieldValidator(); HelpBlock = new HelpBlock(); _hfBinaryFileId = new HiddenField(); _hfBinaryFileTypeGuid = new HiddenField(); }
/// <summary> /// Initializes a new instance of the <see cref="SSNBox"/> class. /// </summary> public SSNBox() : base() { this.RegularExpressionValidator = new RegularExpressionValidator(); RequiredFieldValidator = new HiddenFieldValidator(); HelpBlock = new HelpBlock(); WarningBlock = new WarningBlock(); }
/// <summary> /// Initializes a new instance of the <see cref="BlockTemplatePicker" /> class. /// </summary> public BlockTemplatePicker() { // note we are using HiddenFieldValidator instead of RequiredFieldValidator RequiredFieldValidator = new HiddenFieldValidator(); HelpBlock = new HelpBlock(); WarningBlock = new WarningBlock(); }
/// <summary> /// Initializes a new instance of the <see cref="FileUploader" /> class. /// </summary> public FileUploader() : base() { RequiredFieldValidator = new HiddenFieldValidator(); HelpBlock = new HelpBlock(); _hfBinaryFileId = new HiddenField(); _hfBinaryFileTypeGuid = new HiddenField(); }
/// <summary> /// Initializes a new instance of the <see cref="DatePartsPicker"/> class. /// </summary> public DatePartsPicker() : base() { CustomValidator = new CustomValidator(); CustomValidator.ValidationGroup = this.ValidationGroup; HelpBlock = new HelpBlock(); WarningBlock = new WarningBlock(); }
/// <summary> /// Initializes a new instance of the <see cref="RockCheckBoxList"/> class. /// </summary> public RockCheckBoxList() : base() { CustomValidator = new CustomValidator(); CustomValidator.ValidationGroup = this.ValidationGroup; HelpBlock = new HelpBlock(); WarningBlock = new WarningBlock(); }
/// <summary> /// Initializes a new instance of the <see cref="BirthdayPicker"/> class. /// </summary> public BirthdayPicker() : base() { CustomValidator = new CustomValidator(); CustomValidator.ValidationGroup = this.ValidationGroup; HelpBlock = new HelpBlock(); WarningBlock = new WarningBlock(); }
/// <summary> /// Initializes a new instance of the <see cref="ButtonDropDownList"/> class. /// </summary> public ButtonDropDownList() : base() { RequiredFieldValidator = new HiddenFieldValidator(); RequiredFieldValidator.ValidationGroup = this.ValidationGroup; HelpBlock = new HelpBlock(); WarningBlock = new WarningBlock(); EnsureChildControls(); }
/// <summary> /// Initializes a new instance of the <see cref="AddressControl"/> class. /// </summary> public AddressControl() : base() { CustomValidator = new CustomValidator(); CustomValidator.ValidationGroup = this.ValidationGroup; HelpBlock = new HelpBlock(); WarningBlock = new WarningBlock(); }
/// <summary> /// Initializes a new instance of the <see cref="RockRadioButtonList"/> class. /// </summary> public ButtonGroup() : base() { RequiredFieldValidator = new RequiredFieldValidator(); RequiredFieldValidator.ValidationGroup = this.ValidationGroup; HelpBlock = new HelpBlock(); WarningBlock = new WarningBlock(); RepeatDirection = RepeatDirection.Horizontal; }
/// <summary> /// Initializes a new instance of the <see cref="RockCheckBoxList"/> class. /// </summary> public RockCheckBoxList() : base() { CustomValidator = new CustomValidator(); CustomValidator.ValidationGroup = this.ValidationGroup; HelpBlock = new HelpBlock(); WarningBlock = new WarningBlock(); }
/// <summary> /// Initializes a new instance of the <see cref="GroupTypeGroupPicker"/> class. /// </summary> public GroupTypeGroupPicker() : base() { HelpBlock = new HelpBlock(); WarningBlock = new WarningBlock(); RequiredFieldValidator = new RequiredFieldValidator { ValidationGroup = this.ValidationGroup }; }
/// <summary> /// Initializes a new instance of the <see cref="ImageUploader"/> class. /// </summary> public ImageUploader() : base() { RequiredFieldValidator = new HiddenFieldValidator(); HelpBlock = new HelpBlock(); WarningBlock = new WarningBlock(); _hfBinaryFileId = new HiddenField(); _hfBinaryFileTypeGuid = new HiddenField(); _hfContentFileSource = new HiddenFieldWithClass(); }
/// <summary> /// Initializes a new instance of the <see cref="HtmlEditor"/> class. /// </summary> public HtmlEditor() : base() { RequiredFieldValidator = new RequiredFieldValidator(); RequiredFieldValidator.ValidationGroup = this.ValidationGroup; HelpBlock = new HelpBlock(); TextMode = TextBoxMode.MultiLine; Rows = 10; Columns = 80; }
/// <summary> /// Initializes a new instance of the <see cref="HtmlEditor"/> class. /// </summary> public HtmlEditor() : base() { RequiredFieldValidator = new RequiredFieldValidator(); RequiredFieldValidator.ValidationGroup = this.ValidationGroup; HelpBlock = new HelpBlock(); TextMode = TextBoxMode.MultiLine; Rows = 10; Columns = 80; }
/// <summary> /// Initializes a new instance of the <see cref="NumberUpDownGroup"/> class. /// </summary> public NumberUpDownGroup() : base() { GroupCustomValidator = new CustomValidator { ValidationGroup = this.ValidationGroup }; // ControlGroup = new List<NumberUpDown>(); HelpBlock = new HelpBlock(); WarningBlock = new WarningBlock(); }
/// <summary> /// Initializes a new instance of the <see cref="ImageEditor"/> class. /// </summary> public ImageEditor() : base() { RequiredFieldValidator = new HiddenFieldValidator(); HelpBlock = new HelpBlock(); WarningBlock = new WarningBlock(); _hfBinaryFileId = new HiddenField(); _hfBinaryFileTypeGuid = new HiddenField(); _hfOriginalBinaryFileId = new HiddenField(); _hfCropBinaryFileId = new HiddenField(); }
/// <summary> /// Initializes a new instance of the <see cref="AddressControl"/> class. /// </summary> public AddressControl() : base() { HelpBlock = new HelpBlock(); WarningBlock = new WarningBlock(); // Prevent ViewState from being disabled by the container, because it is necessary for this control to operate correctly. this.ViewStateMode = ViewStateMode.Enabled; // Default validation display mode to use the ValidationSummary control rather than inline. this.ValidationDisplay = ValidatorDisplay.None; }
/// <summary> /// Called by the ASP.NET page framework to notify server controls that use composition-based implementation to create any child controls they contain in preparation for posting back or rendering. /// </summary> protected override void CreateChildControls() { base.CreateChildControls(); Controls.Clear(); _hfMetricId = new HiddenField(); _hfMetricId.ID = string.Format("hfMetricId_{0}", this.ID); _hfXAxisLabel = new HiddenFieldWithClass(); _hfXAxisLabel.ID = string.Format("hfXAxisLabel_{0}", this.ID); _hfXAxisLabel.CssClass = "js-xaxis-value"; _hfYAxisLabel = new HiddenFieldWithClass(); _hfYAxisLabel.ID = string.Format("hfYAxisLabel_{0}", this.ID); _hfYAxisLabel.CssClass = "js-yaxis-value"; _hfRestUrlParams = new HiddenFieldWithClass(); _hfRestUrlParams.ID = string.Format("hfRestUrlParams_{0}", this.ID); _hfRestUrlParams.CssClass = "js-rest-url-params"; _hfRestUrl = new HiddenFieldWithClass(); _hfRestUrl.ID = string.Format("hfRestUrl_{0}", this.ID); _hfRestUrl.CssClass = "js-rest-url"; _hfSeriesPartitionNameUrl = new HiddenFieldWithClass(); _hfSeriesPartitionNameUrl.ID = string.Format("hfSeriesPartitionNameUrl_{0}", this.ID); _hfSeriesPartitionNameUrl.CssClass = "js-seriesname-url"; _lblChartTitle = new Label(); _lblChartTitle.ID = string.Format("lblChartTitle_{0}", this.ID); _lblChartSubtitle = new Label(); _lblChartSubtitle.ID = string.Format("lblChartSubtitle_{0}", this.ID); _pnlChartPlaceholder = new Panel(); _pnlChartPlaceholder.CssClass = "chart-placeholder js-chart-placeholder"; _pnlChartPlaceholder.ID = string.Format("pnlChartPlaceholder_{0}", this.ID); _hbChartOptions = new HelpBlock(); _hbChartOptions.ID = string.Format("hbChartOptions_{0}", this.ID); Controls.Add(_hfMetricId); Controls.Add(_hfXAxisLabel); Controls.Add(_hfYAxisLabel); Controls.Add(_hfRestUrlParams); Controls.Add(_hfRestUrl); Controls.Add(_hfSeriesPartitionNameUrl); Controls.Add(_lblChartTitle); Controls.Add(_lblChartSubtitle); Controls.Add(_pnlChartPlaceholder); Controls.Add(_hbChartOptions); }
/// <summary> /// Initializes a new instance of the <see cref="Toggle"/> class. /// </summary> public Toggle() { HelpBlock = new HelpBlock(); }
/// <summary> /// Called by the ASP.NET page framework to notify server controls that use composition-based implementation to create any child controls they contain in preparation for posting back or rendering. /// </summary> protected override void CreateChildControls() { base.CreateChildControls(); Controls.Clear(); _hfMetricId = new HiddenField(); _hfMetricId.ID = string.Format( "hfMetricId_{0}", this.ID ); _hfXAxisLabel = new HiddenFieldWithClass(); _hfXAxisLabel.ID = string.Format( "hfXAxisLabel_{0}", this.ID ); _hfXAxisLabel.CssClass = "js-xaxis-value"; _hfYAxisLabel = new HiddenFieldWithClass(); _hfYAxisLabel.ID = string.Format( "hfYAxisLabel_{0}", this.ID ); _hfYAxisLabel.CssClass = "js-yaxis-value"; _hfRestUrlParams = new HiddenFieldWithClass(); _hfRestUrlParams.ID = string.Format( "hfRestUrlParams_{0}", this.ID ); _hfRestUrlParams.CssClass = "js-rest-url-params"; _hfRestUrl = new HiddenFieldWithClass(); _hfRestUrl.ID = string.Format( "hfRestUrl_{0}", this.ID ); _hfRestUrl.CssClass = "js-rest-url"; _hfSeriesNameUrl = new HiddenFieldWithClass(); _hfSeriesNameUrl.ID = string.Format( "hfSeriesNameUrl_{0}", this.ID ); _hfSeriesNameUrl.CssClass = "js-seriesname-url"; _lblChartTitle = new Label(); _lblChartTitle.ID = string.Format( "lblChartTitle_{0}", this.ID ); _lblChartSubtitle = new Label(); _lblChartSubtitle.ID = string.Format( "lblChartSubtitle_{0}", this.ID ); _pnlChartPlaceholder = new Panel(); _pnlChartPlaceholder.CssClass = "chart-placeholder js-chart-placeholder"; _pnlChartPlaceholder.ID = string.Format( "pnlChartPlaceholder_{0}", this.ID ); _hbChartOptions = new HelpBlock(); _hbChartOptions.ID = string.Format( "hbChartOptions_{0}", this.ID ); Controls.Add( _hfMetricId ); Controls.Add( _hfXAxisLabel ); Controls.Add( _hfYAxisLabel ); Controls.Add( _hfRestUrlParams ); Controls.Add( _hfRestUrl ); Controls.Add( _hfSeriesNameUrl ); Controls.Add( _lblChartTitle ); Controls.Add( _lblChartSubtitle ); Controls.Add( _pnlChartPlaceholder ); Controls.Add( _hbChartOptions ); }
/// <summary> /// Initializes a new instance of the <see cref="ScheduleBuilder"/> class. /// </summary> public ScheduleBuilder() { RequiredFieldValidator = null; HelpBlock = new HelpBlock(); }
/// <summary> /// Initializes a new instance of the <see cref="MonthYearPicker"/> class. /// </summary> public MonthYearPicker() : base() { HelpBlock = new HelpBlock(); }
/// <summary> /// Initializes a new instance of the <see cref="RockBulletedList"/> class. /// </summary> public RockBulletedList() : base() { HelpBlock = new HelpBlock(); WarningBlock = new WarningBlock(); }
/// <summary> /// Initializes a new instance of the <see cref="ImageEditor"/> class. /// </summary> public ImageEditor() : base() { HelpBlock = new HelpBlock(); }
/// <summary> /// Initializes a new instance of the <see cref="MonthDayPicker"/> class. /// </summary> public MonthDayPicker() : base() { HelpBlock = new HelpBlock(); }
/// <summary> /// Initializes a new instance of the <see cref="WorkflowPicker"/> class. /// </summary> public WorkflowPicker() : base() { HelpBlock = new HelpBlock(); WarningBlock = new WarningBlock(); }
/// <summary> /// Initializes a new instance of the <see cref="RockTextBox" /> class. /// </summary> public CodeEditor() : base() { RequiredFieldValidator = new RequiredFieldValidator(); HelpBlock = new HelpBlock(); }
/// <summary> /// Initializes a new instance of the <see cref="EntityPicker"/> class. /// </summary> public EntityPicker() : base() { HelpBlock = new HelpBlock(); }
/// <summary> /// Initializes a new instance of the <see cref="NumberRangeEditor"/> class. /// </summary> public NumberRangeEditor() : base() { HelpBlock = new HelpBlock(); }
/// <summary> /// Initializes a new instance of the <see cref="GroupRolePicker"/> class. /// </summary> public GroupRolePicker() : base() { HelpBlock = new HelpBlock(); WarningBlock = new WarningBlock(); }
/// <summary> /// Initializes a new instance of the <see cref="DateRangePicker"/> class. /// </summary> public DateRangePicker() : base() { RequiredFieldValidator = new HiddenFieldValidator(); HelpBlock = new HelpBlock(); }
/// <summary> /// Initializes a new instance of the <see cref="RockCheckBoxList"/> class. /// </summary> public RockCheckBoxList() : base() { HelpBlock = new HelpBlock(); }
/// <summary> /// Initializes a new instance of the <see cref="DateTimePicker"/> class. /// </summary> public DateTimePicker() : base() { HelpBlock = new HelpBlock(); }
/// <summary> /// Initializes a new instance of the <see cref="BirthdayPicker"/> class. /// </summary> public BirthdayPicker() : base() { HelpBlock = new HelpBlock(); }