Inheritance: System.Web.UI.WebControls.Literal
示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RockTextBox" /> class.
 /// </summary>
 public CodeEditor()
     : base()
 {
     RequiredFieldValidator = new RequiredFieldValidator();
     HelpBlock    = new HelpBlock();
     WarningBlock = new WarningBlock();
 }
示例#2
0
文件: SSNBox.cs 项目: kra3889/rockrms
 /// <summary>
 /// Initializes a new instance of the <see cref="BirthdayPicker"/> class.
 /// </summary>
 public SSNBox()
     : base()
 {
     RequiredFieldValidator = new HiddenFieldValidator();
     HelpBlock    = new HelpBlock();
     WarningBlock = new WarningBlock();
 }
示例#3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DateRangePicker"/> class.
 /// </summary>
 public DateRangePicker()
     : base()
 {
     RequiredFieldValidator = new HiddenFieldValidator();
     HelpBlock    = new HelpBlock();
     WarningBlock = new WarningBlock();
 }
示例#4
0
 /// <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();
 }
示例#5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DateRangePicker"/> class.
 /// </summary>
 public DateRangePicker()
     : base()
 {
     CustomValidator = new CustomValidator();
     HelpBlock       = new HelpBlock();
     WarningBlock    = new WarningBlock();
 }
示例#6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ItemPicker" /> class.
 /// </summary>
 public ItemPicker()
     : base()
 {
     RequiredFieldValidator = new HiddenFieldValidator();
     HelpBlock = new HelpBlock();
     WarningBlock = new WarningBlock();
 }
示例#7
0
 /// <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="ItemFromBlockPicker" /> class.
 /// </summary>
 public ItemFromBlockPicker()
     : base()
 {
     RequiredFieldValidator = new HiddenFieldValidator();
     HelpBlock    = new HelpBlock();
     WarningBlock = new WarningBlock();
 }
示例#9
0
        /// <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="SlidingDateRangePicker"/> class.
 /// </summary>
 public SlidingDateRangePicker()
     : base()
 {
     HelpBlock    = new HelpBlock();
     WarningBlock = new WarningBlock();
     Label        = "Date Range";
 }
示例#11
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SlidingDateRangePicker"/> class.
 /// </summary>
 public SlidingDateRangePicker()
     : base()
 {
     HelpBlock = new HelpBlock();
     WarningBlock = new WarningBlock();
     Label = "Date Range";
 }
示例#12
0
 /// <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();
 }
示例#13
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ImageUploader"/> class.
 /// </summary>
 public ImageUploader()
     : base()
 {
     HelpBlock = new HelpBlock();
     WarningBlock = new WarningBlock();
     _hfBinaryFileId = new HiddenField();
     _hfBinaryFileTypeGuid = new HiddenField();
 }
示例#14
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ImageUploader"/> class.
 /// </summary>
 public ImageUploader()
     : base()
 {
     HelpBlock             = new HelpBlock();
     WarningBlock          = new WarningBlock();
     _hfBinaryFileId       = new HiddenField();
     _hfBinaryFileTypeGuid = new HiddenField();
 }
示例#15
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GeoPicker" /> class.
 /// </summary>
 public GeoPicker()
 {
     RequiredFieldValidator = new HiddenFieldValidator();
     HelpBlock      = new HelpBlock();
     WarningBlock   = new WarningBlock();
     _btnSelect     = new HtmlAnchor();
     _btnSelectNone = new HtmlAnchor();
 }
示例#16
0
        /// <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();
            WarningBlock = new WarningBlock();
        }
示例#17
0
 /// <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();
 }
示例#18
0
 /// <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();
     WarningBlock = new WarningBlock();
 }
示例#19
0
        /// <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();
            WarningBlock = new WarningBlock();
        }
示例#20
0
文件: SSNBox.cs 项目: waldo2590/Rock
 /// <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();
 }
示例#21
0
 /// <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();
 }
示例#22
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GroupTypeGroupPicker"/> class.
 /// </summary>
 public GroupAndRolePicker()
     : base()
 {
     HelpBlock              = new HelpBlock();
     WarningBlock           = new WarningBlock();
     RequiredFieldValidator = new RequiredFieldValidator();
     RequiredFieldValidator.ValidationGroup = this.ValidationGroup;
 }
示例#23
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GeoPicker" /> class.
 /// </summary>
 public GeoPicker()
 {
     RequiredFieldValidator = new HiddenFieldValidator();
     HelpBlock = new HelpBlock();
     WarningBlock = new WarningBlock();
     _btnSelect = new HtmlAnchor();
     _btnSelectNone = new HtmlAnchor();
 }
示例#24
0
 /// <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();
     WarningBlock = new WarningBlock();
 }
示例#25
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GroupTypeGroupPicker"/> class.
 /// </summary>
 public GroupAndRolePicker()
     : base()
 {
     HelpBlock = new HelpBlock();
     WarningBlock = new WarningBlock();
     RequiredFieldValidator = new RequiredFieldValidator();
     RequiredFieldValidator.ValidationGroup = this.ValidationGroup;
 }
示例#26
0
 /// <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();
 }
示例#27
0
 /// <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;
 }
示例#28
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FileUploader" /> class.
 /// </summary>
 public FileUploader()
     : base()
 {
     RequiredFieldValidator = new HiddenFieldValidator();
     HelpBlock             = new HelpBlock();
     WarningBlock          = new WarningBlock();
     _hfBinaryFileId       = new HiddenField();
     _hfBinaryFileTypeGuid = new HiddenField();
 }
示例#29
0
        /// <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();
        }
示例#30
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FileUploader" /> class.
 /// </summary>
 public FileUploader()
     : base()
 {
     RequiredFieldValidator = new HiddenFieldValidator();
     HelpBlock = new HelpBlock();
     WarningBlock = new WarningBlock();
     _hfBinaryFileId = new HiddenField();
     _hfBinaryFileTypeGuid = new HiddenField();
 }
示例#31
0
        /// <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();
        }
示例#32
0
        /// <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();
        }
示例#33
0
        /// <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();
        }
示例#34
0
        /// <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();
        }
示例#35
0
 /// <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();
 }
示例#36
0
 /// <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
     };
 }
示例#37
0
        /// <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();
        }
示例#38
0
 /// <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();
 }
示例#39
0
        /// <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();
            WarningBlock = new WarningBlock();

            TextMode = TextBoxMode.MultiLine;
            Rows     = 10;
            Columns  = 80;
        }
示例#40
0
        /// <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;
        }
示例#41
0
        /// <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();
            WarningBlock = new WarningBlock();

            TextMode = TextBoxMode.MultiLine;
            Rows = 10;
            Columns = 80;
        }
示例#42
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BirthdayPicker"/> class.
 /// </summary>
 public BirthdayPicker()
     : base()
 {
     HelpBlock = new HelpBlock();
     WarningBlock = new WarningBlock();
 }
示例#43
0
 /// <summary>
 /// Initializes a new instance of the <see cref="StepProgramStepTypePicker"/> class.
 /// </summary>
 public StepProgramStepTypePicker()
     : base()
 {
     HelpBlock    = new HelpBlock();
     WarningBlock = new WarningBlock();
 }
示例#44
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MonthDayPicker"/> class.
 /// </summary>
 public MonthDayPicker()
     : base()
 {
     HelpBlock = new HelpBlock();
     WarningBlock = new WarningBlock();
 }
示例#45
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EntityPicker"/> class.
 /// </summary>
 public EntityPicker()
     : base()
 {
     HelpBlock = new HelpBlock();
     WarningBlock = new WarningBlock();
 }
示例#46
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GroupTypeGroupPicker"/> class.
 /// </summary>
 public GroupTypeGroupPicker()
     : base()
 {
     HelpBlock = new HelpBlock();
     WarningBlock = new WarningBlock();
 }
示例#47
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GroupRolePicker"/> class.
 /// </summary>
 public GroupRolePicker()
     : base()
 {
     HelpBlock = new HelpBlock();
     WarningBlock = new WarningBlock();
 }
示例#48
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WorkflowPicker"/> class.
 /// </summary>
 public WorkflowPicker()
     : base()
 {
     HelpBlock    = new HelpBlock();
     WarningBlock = new WarningBlock();
 }
示例#49
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WorkflowPicker"/> class.
 /// </summary>
 public WorkflowPicker()
     : base()
 {
     HelpBlock = new HelpBlock();
     WarningBlock = new WarningBlock();
 }
示例#50
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ImageEditor"/> class.
 /// </summary>
 public ImageEditor()
     : base()
 {
     HelpBlock = new HelpBlock();
     WarningBlock = new WarningBlock();
 }
示例#51
0
文件: Toggle.cs 项目: NewSpring/Rock
 /// <summary>
 /// Initializes a new instance of the <see cref="Toggle"/> class.
 /// </summary>
 public Toggle()
 {
     HelpBlock = new HelpBlock();
     WarningBlock = new WarningBlock();
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ContentChannelItemPicker"/> class.
 /// </summary>
 public ContentChannelItemPicker()
     : base()
 {
     HelpBlock    = new HelpBlock();
     WarningBlock = new WarningBlock();
 }
示例#53
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RockCheckBox"/> class.
 /// </summary>
 public RockCheckBox()
     : base()
 {
     HelpBlock = new HelpBlock();
     WarningBlock = new WarningBlock();
 }
示例#54
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RockControlWrapper" /> class.
 /// </summary>
 public RockControlWrapper()
     : base()
 {
     HelpBlock = new HelpBlock();
     WarningBlock = new WarningBlock();
 }
示例#55
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RockTextBox" /> class.
 /// </summary>
 public CodeEditor()
     : base()
 {
     RequiredFieldValidator = new RequiredFieldValidator();
     HelpBlock = new HelpBlock();
     WarningBlock = new WarningBlock();
 }
示例#56
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RockBulletedList"/> class.
 /// </summary>
 public RockBulletedList()
     : base()
 {
     HelpBlock = new HelpBlock();
     WarningBlock = new WarningBlock();
 }
示例#57
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ScheduleBuilder"/> class.
 /// </summary>
 public ScheduleBuilder()
 {
     RequiredFieldValidator = null;
     HelpBlock = new HelpBlock();
     WarningBlock = new WarningBlock();
 }
示例#58
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NumberRangeEditor"/> class.
 /// </summary>
 public NumberRangeEditor()
     : base()
 {
     HelpBlock = new HelpBlock();
     WarningBlock = new WarningBlock();
 }