Control Gallery
Gloria Dei Lutheran | one
  • Home
  • About Us
    • About Us
    • Worship
    • Staff
    • Missions
    • Job Openings
  • Events
  • Sunday Worship
  • Next Steps
    • Next Steps
    • Baptism
    • Small Groups
    • Alpha Class
    • Discipleship
    • Essentials
  • Giving
    • Giving
    • Give Now
    • Give Now - Capital Campaign
    • Manage Giving Profiles
    • Pledge
    • Capital Campaign Commitment
  • Ministries
  • Media
    • Media
    • Series
    • Messages
    • Stories
    • Browse All Media
Login Sunday Bulletin Give
Gloria Dei | Home
Gloria Dei | Home
  • Who We Are
  • Next Steps
  • Ministries
Give
Login

Error

Control Gallery

General Information

Input Sizing Rules

Warning!

In Bootstrap 3 inputs are meant to fill the width of their parent container (link). If a small input is desired they should be wrapped in a table grid. This provides the best responsive solution. In some rare cases it's beneficial to be able to fix the width of certain inputs to provide better context of what the input is for. For instance a credit card CVV field makes more sense visually being fixed width to 3 characters. To provide this capability we have added the following CSS classes to fix width inputs. Please use them sparingly.

Alert

Rock framework developers should get approval from the Core Team before using these styles.
<Rock:RockTextBox ID="tbInput1" runat="server" CssClass="input-width-xs" Label=".input-width-xs" />

<Rock:RockTextBox ID="tbInput2" runat="server" CssClass="input-width-sm" Label=".input-width-sm" />

<Rock:RockTextBox ID="tbInput3" runat="server" CssClass="input-width-md" Label=".input-width-md" />

<Rock:RockTextBox ID="tbInput4" runat="server" CssClass="input-width-lg" Label=".input-width-lg" />

<Rock:RockTextBox ID="tbInput5" runat="server" CssClass="input-width-xl" Label=".input-width-xl" />

<Rock:RockTextBox ID="tbInput6" runat="server" CssClass="input-width-xxl" Label=".input-width-xxl" />

Note

In Bootstrap 3 inputs are display:block;. If you need these sized controls to align horizontally, consider wrapping them with the form-control-group class.

Horizontal Forms

While Rock uses a similar approach to Bootstrap, we’ve made horizontal forms a bit easier to help facilitate their use when creating forms in workflows and event registrations. Below is the syntax for declaring a horizontal form.

<div class="form-horizontal label-sm">
    <div class="form-group">
        <label for="inputEmail3" class="control-label">Email</label>
        <div class="control-wrapper">
        <input type="email" class="form-control" id="inputEmail3" placeholder="Email">
        </div>
    </div>
</div>

When using this in form generators you'll need to complete two steps. The first is adding a wrapping <div class="form-group "> in your pre/post fields.

The second is an additional class on the form-horizontal element that determines how wide the label column should be. Options include:

  • label-sm: Label column of 2, field column of 10
  • label-md: Label column of 4, field column of 8
  • label-lg: Label column of 6, field column of 6
  • label-xl: Label column of 8, field column of 4
  • label-auto: Label and field widths determined by contents
<div class="form-horizontal label-sm">
    <div class="form-group">
        <label for="inputEmail4" class="control-label">Email</label>
        <div class="control-wrapper">
            <input type="email" class="form-control" id="inputEmail4" placeholder="Email">
        </div>
    </div>
</div>

<div class="form-horizontal label-md">
    <div class="form-group">
        <label for="inputEmail5" class="control-label">Email</label>
        <div class="control-wrapper">
            <input type="email" class="form-control" id="inputEmail5" placeholder="Email">
        </div>
    </div>
</div>

<div class="form-horizontal label-lg">
    <div class="form-group">
        <label for="inputEmail6" class="control-label">Email</label>
        <div class="control-wrapper">
            <input type="email" class="form-control" id="inputEmail6" placeholder="Email">
        </div>
    </div>
</div>

<div class="form-horizontal label-xl">
    <div class="form-group">
        <label for="inputEmail7" class="control-label">Email</label>
        <div class="control-wrapper">
            <input type="email" class="form-control" id="inputEmail7" placeholder="Email">
        </div>
    </div>
</div>

<div class="form-horizontal label-auto">
    <div class="form-group">
        <label for="inputEmail8" class="control-label">Email Email Email Email Email Email Email Email Email Email Email</label>
        <div class="control-wrapper">
            <input type="email" class="form-control" id="inputEmail8" placeholder="Email">
        </div>
    </div>
</div>

Margins and Padding

Warning!

If you think you need to control the margin or padding, you might be 'doing it wrong.' These are for use in those cases when you know what you're doing.

Format

The format is the type (padding or margin) followed by a dash then the position (v=vertical, h=horizontal, t=top, etc.) followed by a dash and then the sizing specifier (none, small, medium, etc).

.padding|margin - v|h|t|b|r|l|all - none|sm|md|lg|xl
.padding-all-xl .margin-all-md For God so loved the world that he gave his one and only Son...
<div class="well">
    <Rock:RockTextBox ID="tbMP1" runat="server" CssClass="margin-t-xl" Label=".margin-t-xl" Placeholder="Blah..."/>
</div>

<div class="well">
    <Rock:RockTextBox ID="tbMP2" runat="server" CssClass="padding-h-lg" Label=".padding-h-lg" Placeholder="Blah..." />
</div>

<div class="well">
    <label class="control-label">.padding-all-xl .margin-all-lg</label>
    <Rock:NotificationBox ID="nbMP3" runat="server" CssClass="padding-all-xl margin-all-lg" NotificationBoxType="Info" Title=".padding-all-xl .margin-all-md" Text="For God so loved the world that he gave his one and only Son..." />
</div>

Field Labels

When a field is not editable because it was pre-configured via configuration or block setting, it should still have a typical look by using the form-group, control-label, control-wrapper classes.

A/V Team

<div class="form-group">
	<label class="control-label">Group</label> 
	<div class="control-wrapper">
		<p>A/V Team</p>	
	</div>
</div>

Rock:Grid

 NameDateTimeSome Boolean   
 Ketchup5/14/2025 4:08 AM 
 Mustard5/14/2025 4:08 AM 
 Onions5/14/2025 4:08 AM
 Pickles5/14/2025 4:08 AM 
  • 50
  • 500
  • 5,000
4 Example Data Items
<div class="grid">
    <Rock:Grid ID="gExample" runat="server" AllowSorting="true">
        <Columns>
            <Rock:ColorField DataField="DefinedValueColor" ToolTipDataField="DefinedValueTypeName" HeaderText="" />
            <Rock:RockBoundField DataField="DefinedValueTypeName" HeaderText="Name" SortExpression="DefinedValueTypeName" />
            <Rock:DateTimeField DataField="SomeDateTime" HeaderText="DateTime" SortExpression="SomeDateTime" />
            <Rock:BoolField DataField="SomeBoolean" HeaderText="Some Boolean" SortExpression="SomeBoolean" />
            <Rock:EditField />
            <Rock:SecurityField TitleField="DefinedValueTypeName" />
            <Rock:DeleteField />
        </Columns>
    </Rock:Grid>
</div>
Note An extra div is required around the grid to help wrap the grid and an optional grid filter for styling.

Drop Downs

<Rock:DataDropDownList ID="ddlDataExample" runat="server" Label="Rock:DataDropDownList/RockDropDownList" SourceTypeName="Rock.Model.GroupType, Rock" PropertyName="Name" />

State Drop Down List

<Rock:StateDropDownList ID="statepExample" runat="server" Label="Rock:StateDropDownList" />

Button Drop Down List

  • Pickles
  • Onions
  • Ketchup
  • Mustard
<Rock:ButtonDropDownList ID="bddlExample" runat="server" Label="Rock:ButtonDropDownList" />

Button Drop Down List Checkmark

  • Small
  • Medium
  • Large
  • Software Developer
<Rock:ButtonDropDownList ID="bddlExampleCheckmark" runat="server" Label="Rock:ButtonDropDownList with Checkmark" SelectionStyle="Checkmark" Title="T-Shirt Size" />

Inputs

Text Box

<Rock:DataTextBox ID="dtbExample" runat="server" Label="Rock:DataTextBox" LabelTextFromPropertyName="false" SourceTypeName="Rock.Model.GroupType, Rock" PropertyName="Description" />

Email Box

Email address is not valid
<Rock:EmailBox ID="ebEmail" runat="server" Label="Rock:EmailBox" />

URL Link Box

<Rock:UrlLinkBox ID="ulLink" runat="server" Label="Rock:UrlLinkBox" />

Number Box

<Rock:NumberBox ID="numbExample" runat="server" Label="Rock:NumberBox" />

Address Control

<Rock:AddressControl ID="addrExample" runat="server" Label="Rock:AddressControl" />

Number Up Down (Stepper)

0
<Rock:NumberUpDown ID="nudExample" runat="server" Label="Rock:NumberUpDown" Minimum="0" Maximum="5" />

Check Box

<Rock:RockCheckBox ID="cbExample" runat="server" Label="Rock:RockCheckBox" />
<Rock:RockCheckBox ID="cbExample2" runat="server" Label="Rock:RockCheckBox" SelectedIconCssClass="fa fa-check-square-o fa-lg" UnSelectedIconCssClass="fa fa-square-o fa-lg" />
<Rock:RockCheckBoxList ID="cblExample" runat="server" Label="Rock:RockCheckBoxList" />
<Rock:RockCheckBoxList ID="cblExampleHorizontal" runat="server" Label="Rock:RockCheckBoxList (horizontal)" RepeatDirection="Horizontal" />
<Rock:RockListBox ID="lbExampleListBox" runat="server" Label="Rock:RockListBox" />

Radio Button

<Rock:RockRadioButtonList ID="rblExample" runat="server" Label="Rock:RockRadioButtonList" />
<Rock:RockRadioButtonList ID="rblExampleHorizontal" runat="server" Label="Rock:RockRadioButtonList (horizontal)" RepeatDirection="Horizontal" />
<Rock:Switch ID="swExample" runat="server" Label="Rock:Switch" Text="Rock:Switch" />
<Rock:ListItems ID="liExample" runat="server" Label="Rock:ListItems"></Rock:ListItems>

Number Range

to Rock:NumberRangeEditor is required.
<Rock:NumberRangeEditor ID="nreExample" runat="server" Label="Rock:NumberRangeEditor" LowerValue="10" UpperValue="25" />

Rating Input


<Rock:RockRating ID="rrRating" runat="server" Label="Rock:RatingInput" /><br />

Range Slider


<Rock:RangeSlider ID="rsSlider" runat="server" Label="Rock:RangeSlider" MaxValue="250" MinValue="125" StepValue="0" SelectedValue="200" />
<br />

<Rock:RangeSlider ID="rsSlider2" runat="server" Label="Rock:RangeSlider" />
<br />
Test

Pickers

Date/Time

<Rock:DatePicker ID="dpExample" runat="server" Label="Rock:DatePicker" />
/ / Rock:DatePartsPicker cannot be a future date.
<Rock:DatePartsPicker ID="dppExample" runat="server" Label="Rock:DatePartsPicker" OnSelectedDatePartsChanged="dppExample_SelectedDatePartsChanged" />
<Rock:DateTimePicker ID="dtpExample" runat="server" Label="Rock:DateTimePicker" />
<Rock:DaysOfWeekPicker ID="daysOfWeekPicker" RepeatDirection="Horizontal" runat="server" Label="Rock:DaysOfWeekPicker" />
<Rock:DayOfWeekPicker ID="dayOfWeekPicker" runat="server" Label="Rock:DayOfWeekPicker" />
<Rock:TimePicker ID="timepExample" runat="server" Label="Rock:TimePicker" />
/
<Rock:MonthYearPicker ID="mypExample" runat="server" Label="Rock:MonthYearPicker" OnSelectedMonthYearChanged="monthYearPicker_SelectedMonthYearChanged" />
/
<Rock:MonthDayPicker ID="mdpExample" runat="server" Label="Rock:MonthDayPicker" OnSelectedMonthDayChanged="monthDayPicker_SelectedMonthDayChanged" />
to
Rock:DateRangePicker is required.
<Rock:DateRangePicker ID="drpExample" runat="server" Label="Rock:DateRangePicker" LowerValue="1/1/2012" UpperValue="12/31/2014" />
to
is required.
<Rock:SlidingDateRangePicker ID="sdrpExample" runat="server" Label="Rock:SlidingDateRangePicker" PreviewLocation="Top" />
/ / Rock:BirthdayPicker cannot be a future date.
<Rock:BirthdayPicker ID="bdaypExample" runat="server" Label="Rock:BirthdayPicker" OnSelectedBirthdayChanged="birthdayPicker_SelectedBirthdayChanged" />
<Rock:YearPicker ID="ypYearPicker" runat="server" Label="Rock:YearPicker"  />

Campus

<Rock:CampusPicker ID="campExample" runat="server" Label="Rock:CampusPicker" ForceVisible="true" />
<Rock:CampusesPicker ID="campsExample" runat="server" Label="Rock:CampusesPicker" ForceVisible="true" />

Connections

Cancel
<Rock:ConnectionRequestPicker ID="crpConnectionRequestPicker" runat="server" Label="Rock:ConnectionRequestPicker" />

DefinedValues

<Rock:DefinedValuePicker ID="dvpDefinedValuePicker" runat="server" Label="Rock:DefinedValuePicker for ConnectionStatus defined type" DefinedTypeId="4" />
<Rock:DefinedValuesPicker ID="dvpDefinedValuesPicker" runat="server" Label="Rock:DefinedValuesPicker for ConnectionStatus defined type" DefinedTypeId="4" />
<Rock:DefinedValuesPickerEnhanced ID="dvpDefinedValuesPickerEnhanced" runat="server" Label="Rock:DefinedValuesPickerEnhanced for ConnectionStatus defined type" DefinedTypeId="4" />

Events

<Rock:EventCalendarPicker ID="ecpEventCalendarPicker" runat="server" Label="Rock:EventCalendarPicker" />
<Rock:EventItemPicker ID="eipEventItemPicker" runat="server" Label="Rock:EventItemPicker" />
Cancel
<Rock:RegistrationTemplatePicker ID="pRegistrationTemplatePicker" runat="server" Label="Rock:RegistrationTemplatePicker" />

Financial

Cancel
Show Inactive
<Rock:AccountPicker ID="acctpExample" runat="server" Label="Rock:AccountPicker" />
<Rock:FinancialGatewayPicker ID="fgpFinancialGatewayPicker" runat="server" Label="Rock:FinancialGatewayPicker"/>

Files and Images

<Rock:BinaryFileTypePicker ID="bftpExample" runat="server" Label="Rock:BinaryFileTypePicker" OnSelectedIndexChanged="binaryFileTypePicker_SelectedIndexChanged" />
<Rock:BinaryFilePicker ID="bfpExample" runat="server" Label="Rock:BinaryFilePicker" />
Upload
<Rock:FileUploader ID="fuprExampleBinaryFile" runat="server" Label="Rock:FileUploader (BinaryFile mode)" BinaryFileTypeGuid="C1142570-8CD6-4A20-83B1-ACB47C1CD377" />
Drop File Here or Click to Select
<Rock:FileUploader ID="fuprExampleUploader" runat="server" DisplayMode="DropZone" IsBinaryFile="true" Required="false" Label="Rock:FileUploader Large (BinaryFile mode)" RequiredErrorMessage="A Document File is required." FormGroupCssClass="fileupload-group-lg" UploadButtonText="Drop File Here or Click to Select"></Rock:FileUploader>
Upload
Uploaded File: -
<Rock:FileUploader ID="fuprExampleContentFile" runat="server" Label="Rock:FileUploader (Content file mode)" IsBinaryFile="false" RootFolder="~/App_Data/TemporaryFiles" OnFileUploaded="fupContentFile_FileUploaded" />
<asp:Label ID="lblPhysicalFileName" runat="server" Text="Uploaded File: -" />
Upload
<Rock:ImageUploader ID="imgupExample" runat="server" Label="Rock:ImageUploader" />
Upload
<Rock:ImageUploader ID="ImageUploader1" runat="server" Label="Rock:ImageUploader" ThumbnailHeight="200" ThumbnailWidth="200" />
<Rock:ImageEditor ID="imageEditor" runat="server" Label="Rock:ImageEditor" MaxImageWidth="1600" MaxImageHeight="1200" />
Rock:MediaElementPicker is required.
<Rock:MediaElementPicker ID="mediaElementPicker" runat="server" Label="Rock:MediaElementPicker" MediaElementId="3" />

Groups and Group Types

Cancel
Show Inactive
<Rock:GroupPicker ID="gpExample" runat="server" Label="Rock:GroupPicker" />
CancelSelect All
Show Inactive
<Rock:GroupPicker ID="grExampleMultip" runat="server" Label="Rock:GroupPicker (Multiselect)" AllowMultiSelect="true" />
CancelSelect All
Show Inactive
<Rock:GroupPicker ID="gpExampleFullWidth" runat="server" EnableFullWidth="true" Label="Rock:GroupPicker (FullWidth)" AllowMultiSelect="true" />
<Rock:GroupTypePicker ID="gpGroupType" runat="server" Label="Rock:GroupTypePicker" />
<Rock:GroupTypesPicker ID="gpGroupTypes" runat="server" Label="Rock:GroupTypesPicker" />
<Rock:GroupRolePicker ID="grpExample" runat="server" Label="Rock:GroupRolePicker" />

Interval

<Rock:IntervalPicker ID="ipExample1" runat="server" Label="Rock:IntervalPicker" />
<Rock:IntervalPicker ID="ipExample2" DefaultValue="2" DefaultInterval="Day" runat="server" Label="Rock:IntervalPicker (Default Value, Default Interval)" />

Locations

<Rock:LocationList ID="LocationList1" runat="server" Label="Rock:LocationList" AllowAdd="true" ShowCityState="true" IsAddressRequired="true" />
SelectCancel
<Rock:LocationPicker ID="locpExample" runat="server" Label="Rock:LocationPicker" />
SelectCancel
<Rock:LocationPicker ID="locpExampleAddressMode" runat="server" Label="Rock:LocationPicker (Address Mode, Mode Selection disabled)" CurrentPickerMode="Address" AllowedPickerModes="Address" />

Geography Picker

Cancel
<Rock:GeoPicker ID="geopExamplePoint" runat="server" Label="Rock:GeoPicker (Point mode)"  DrawingMode="Point" MapStyleValueGuid="BFC46259-FB66-4427-BF05-2B030A582BEA" />

Geography Picker

Cancel
<Rock:GeoPicker ID="geopExamplePolygon" runat="server" Label="Rock:GeoPicker (Polygon mode)" DrawingMode="Polygon" Help="You can set the style of this through the 'Map Style' block attribute." Warning="If you need to stipulate restrictions, use the warning property." />

Pages

Cancel
Pick Route
Select Cancel
<Rock:PagePicker ID="pagepExample" runat="server" Label="Rock:PagePicker" />

Person Pickers

Search

Name
Address
Phone
Email

<Rock:PersonPicker ID="ppExample" runat="server" Label="Rock:PersonPicker" />

Search

Name
Address
Phone
Email

<Rock:PersonPicker ID="ppExampleFullWidth" runat="server" EnableFullWidth="true" Label="Rock:PersonPicker ( FullWidth )" />

Search

Name
Address
Phone
Email

<Rock:PersonPicker ID="ppBusinessExample" runat="server" Label="Rock:PersonPicker including businesses" IncludeBusinesses="true" />

Search

Name
Address
Phone
Email

<Rock:PersonPicker ID="ppSelfSelect" runat="server" Label="Rock:PersonPicker with Self Selection" EnableSelfSelection="true" />
<Rock:GradePicker ID="pGradePicker" runat="server" Label="Rock:GradePicker" />

Lava Commands

<Rock:LavaCommandsPicker ID="pLavaCommandsPicker" runat="server" Label="Rock:LavaCommandsPicker" />

Lava Merge Fields

Add Merge Field
Cancel
<Rock:MergeFieldPicker ID="mfpExample" runat="server" Label="Rock:MergeFieldPicker" />

Merge Fields Templates

Cancel
<Rock:MergeTemplatePicker ID="pMergeTemplatePicker" runat="server" Label="Rock:MergeTemplatePicker" />

Reporting

Cancel
<Rock:DataViewItemPicker ID="dvpDataViewPicker" runat="server" Label="Rock:DataViewItemPicker for Person Dataviews" EntityTypeId="15" />
<Rock:DataViewsPicker ID="dvpDataViewsPicker" runat="server" Label="Rock:DataViewsPicker for Person Dataviews" EntityTypeId="15"/>
Cancel
<Rock:ReportPicker ID="rpReports" runat="server" Label="Rock:ReportPicker for Person Reports" EntityTypeId="15" />
Cancel
<Rock:MetricCategoryPicker ID="pMetricCategoryPicker" runat="server" Label="Rock:MetricCategoryPicker (Pick Metric from Category Tree)" EntityTypeId="15"/>

SystemPhoneNumbers

<Rock:SystemPhoneNumberPicker ID="spnpSystemPhoneNumberPicker" runat="server" Label="Rock:SystemPhoneNumberPicker" />
<Rock:SystemPhoneNumbersPicker ID="spnpSystemPhoneNumbersPicker" runat="server" Label="Rock:SystemPhoneNumbersPicker" />

Workflows

Cancel
<Rock:WorkflowTypePicker ID="wftpExample" runat="server" Label="Rock:WorkflowTypePicker" />
Cancel
<Rock:WorkflowActionTypePicker ID="wfatpExample" runat="server" Label="Rock:WorkflowActionTypePicker" />
<Rock:RockControlWrapper ID="rcwWorkflowPicker" runat="server" Label="Workflow Picker">
    <Rock:WorkflowPicker ID="pWorkflowPicker" runat="server" FormGroupCssClass="margin-l-md margin-t-sm" Label="Workflow Type" />
</Rock:RockControlWrapper>

Other Pickers

Cancel
<Rock:CategoryPicker ID="catpExample" runat="server" Label="Rock:CategoryPicker" />
<Rock:ComponentPicker ID="compExample" runat="server" Label="Rock:ComponentPicker" />
<Rock:EntityPicker ID="epEntityPicker" runat="server" Label="Rock:EntityPicker" />
<Rock:FieldTypePicker ID="ftlExample" runat="server" Label="Rock:FieldTypePicker" />
<Rock:RemoteAuthsPicker ID="pRemoteAuthsPicker" runat="server" Label="Rock:RemoteAuthsPicker" />

Schedules

Cancel
Show Inactive
<Rock:SchedulePicker ID="spSchedulePicker" runat="server" Label="Rock:SchedulePicker" />
Edit Schedule
<Rock:ScheduleBuilder ID="schedbExample" runat="server" Label="Rock:ScheduleBuilder" OnSaveSchedule="scheduleBuilder_SaveSchedule" />

Misc

Rock:NotificationBox

This creates a Bootstrap alert. We’ve added the ability to have Details that can be shown.

Success This is a success message.
Info This is an informational message.
Warning This is a warning.
Danger Something really went wrong.
Hey You can close this when you are done reading it if you want.
Some Info This is a message with extra stuff. Show Details

Here are the extra details

<Rock:NotificationBox ID="nbExampleSuccess" runat="server" Title="Success" Text="This is a success message." NotificationBoxType="Success" />
<Rock:NotificationBox ID="nbExampleInfo" runat="server" Title="Info" Text="This is an informational message." NotificationBoxType="Info" />
<Rock:NotificationBox ID="nbExampleWarning" runat="server" Title="Warning" Text="This is a warning." NotificationBoxType="Warning" />
<Rock:NotificationBox ID="nbExampleDanger" runat="server" Title="Danger" Text="Something really went wrong." NotificationBoxType="Danger" />
<Rock:NotificationBox ID="nbExampleDismissable" runat="server" Title="Hey" Text="You can close this when you are done reading it if you want." NotificationBoxType="Warning" Dismissable="true" />
<Rock:NotificationBox ID="nbExampleDetails" runat="server" Title="Some Info" Text="This is a message with extra stuff." Details="Here are the extra details" />

Rock:TagLiteral

This creates a asp:literal with the contents wrapped by the specified tag. We’ve added the ability to specify a css class. TagLiteral2, TagLiteral3, TagLiteral6 demonstrate the fact that if the text is not set nothing will be rendered.

TagLiteral1: Text Set via the Text Property with CssClass = Description
TagLiteral4: This text is set via code.

TagLiteral5: Literal Content in tag

TagLiteral6: Text with no tag should yield a div.
<Rock:TagLiteral ID="TagLiteral1" runat="server" Tag="div" Text="TagLiteral1: Text Set via the Text Property with CssClass = Description" CssClass="description"/>
<Rock:TagLiteral ID="TagLiteral2" runat="server" Tag="div" Text="" CssClass="description"/>
<Rock:TagLiteral ID="TagLiteral3" runat="server" Tag="div" Text="" CssClass=""/>
<Rock:TagLiteral ID="TagLiteral4" runat="server" Tag="div" />
<Rock:TagLiteral ID="TagLiteral5" runat="server" Tag="p">
    <span>TagLiteral5: Literal Content in tag</span>
</Rock:TagLiteral>
<Rock:TagLiteral ID="TagLiteral6" runat="server" Text="TagLiteral6: Text with no tag should yield a div." />
<Rock:TagLiteral ID="TagLiteral7" runat="server" />

Rock:Badge

This is a mostly standard Bootstrap badge. We say "mostly" because we added the ability to control the color of the badge via the BadgeType property (danger, warning, success, info) similar to the old Bootstrap 2.3 Labels and Badges.

1 0 5 15 99
<Rock:Badge ID="badge" runat="server" ToolTip="you have new messages waiting" Text="1" />
<Rock:Badge ID="badge1" runat="server" BadgeType="success" Text="0" />
<Rock:Badge ID="badge2" runat="server" BadgeType="info" Text="5" />
<Rock:Badge ID="badge3" runat="server" BadgeType="warning" Text="15" />
<Rock:Badge ID="badge4" runat="server" BadgeType="danger" Text="99" />

Rock:HighlightLabel

This creates a Bootstrap Label but we’ve added a few additional custom LabelType options to control the color.

Default Primary Success Info Warning Danger Campus Type Custom
<Rock:HighlightLabel ID="hlblExample1" runat="server" LabelType="Default" Text="Default" ToolTip="More information is here." />
<Rock:HighlightLabel ID="hlblExample2" runat="server" LabelType="Primary" Text="Primary" />
<Rock:HighlightLabel ID="hlblExample3" runat="server" LabelType="Success" Text="Success" />
<Rock:HighlightLabel ID="hlblExample4" runat="server" LabelType="Info" Text="Info" />
<Rock:HighlightLabel ID="hlblExample5" runat="server" LabelType="Warning" Text="Warning" />
<Rock:HighlightLabel ID="hlblExample6" runat="server" LabelType="Danger" Text="Danger" />
<Rock:HighlightLabel ID="hlblExample7" runat="server" LabelType="Campus" Text="Campus" />
<Rock:HighlightLabel ID="hlblExample8" runat="server" LabelType="Type" Text="Type" />
<Rock:HighlightLabel ID="hlblExample9" runat="server" LabelType="Custom" CustomClass="danger" Text="Custom" />

While you can set the Text to include HTML (such as font icons), you can also do this a little easier just by setting the IconCssClass property.

errors
<Rock:HighlightLabel ID="hlblExample" runat="server" LabelType="Danger" IconCssClass="fa fa-flag" Text="errors" />

Rock:Toggle

A toggle switch for those cases when a simple checkbox just won't do.

NoYes
<Rock:Toggle ID="toggleShowPreview" runat="server"
    Label="Show Preview?" OnText="Yes" OffText="No" Checked="true"
    Help="If set to yes, a preview will be shown immediately as you update your criteria."
    OnCheckedChanged="toggleShowPreview_CheckedChanged" />

Need special color indicators on the buttons? Set ActiveButtonCssClass to .btn-info, .btn-success, .btn-danger or .btn-warning

OffOn
OffOn
OffOn
OffOn
OffOn
OffOn
<Rock:Toggle ID="tglExample1" runat="server" />
<Rock:Toggle ID="tglExample2" runat="server" ActiveButtonCssClass="btn-info" />
<Rock:Toggle ID="tglExample3" runat="server" ActiveButtonCssClass="btn-success" />
<Rock:Toggle ID="tglExample4" runat="server" ActiveButtonCssClass="btn-danger" />
<Rock:Toggle ID="tglExample5" runat="server" ActiveButtonCssClass="btn-warning" />
<Rock:Toggle ID="tglExample6" runat="server" ActiveButtonCssClass="btn-primary" />

Want different colors for the on/off states?

OffOn
<Rock:Toggle ID="tglExampleOnOff" OnCssClass="btn-success" OffCssClass="btn-danger" runat="server" />

Need larger or smaller toggle buttons? Set ButtonSizeCssClass to .btn-lg, .btn-sm or .btn-xs

OffOn
OffOn
OffOn
OffOn
<Rock:Toggle ID="tglExample7" runat="server" ButtonSizeCssClass="btn-lg" />
<Rock:Toggle ID="tglExample8" runat="server" />
<Rock:Toggle ID="tglExample9" runat="server" ButtonSizeCssClass="btn-sm" />
<Rock:Toggle ID="tglExample10" runat="server" ButtonSizeCssClass="btn-xs" />

Rock:ButtonGroup

<Rock:ButtonGroup ID="bgExample" runat="server" Label="Favorite Fruit">
    <asp:ListItem Text="Apple" Value="1" />
    <asp:ListItem Text="Banana" Value="2" />
    <asp:ListItem Text="Strawberry" Value="3" />
    <asp:ListItem Text="Chicken" Value="4" />
</Rock:ButtonGroup>

Rock:BootstrapButton

Click Me
<Rock:BootstrapButton ID="lbSave" runat="server" Text="Click Me" CssClass="btn btn-primary"
    DataLoadingText="&lt;i class='fa fa-refresh fa-spin'&gt;&lt;/i&gt; Saving"

Rock:AttributeEditor

Attribute Editor...
<asp:LinkButton ID="btnShowAttributeEditor" runat="server" CssClass="btn btn-link" Text="Attribute Editor..." OnClick="btnShowAttributeEditor_Click" CausesValidation="false" />
<asp:Panel ID="pnlAttributeEditor" runat="server" Visible="false" CssClass="well">
    <Rock:AttributeEditor ID="edtExample" runat="server" OnCancelClick="aeExample_CancelClick" OnSaveClick="aeExample_SaveClick" ValidationGroup="Attribute" />
</asp:Panel>

Rock:HtmlEditor (Full)

<Rock:HtmlEditor ID="htmlEditorFull" runat="server" Label="HtmlEditor" Toolbar="Full" />

Rock:HtmlEditor (Light)

<Rock:HtmlEditor ID="htmlEditorLight" runat="server" Label="HtmlEditor" Toolbar="Light" />

Rock:CodeEditor

    <h3>Hello!!!</h3>
    <p>This is a great way to edit HTML! Reasons:</p>

    <!-- Comment
         We shouldn't have to explain why this is better than just a
         textarea but we will just for you...
    -->

    <ol class="reasons">
        <li>Syntax highlighting</li>
        <li>Tabs work great</li>
        <li>Code folding</li>
    </ol>
                        
<Rock:CodeEditor ID="ceScript" runat="server" EditorTheme="Rock" Label="Script" EditorMode="Html" EditorHeight="300">
    <h3>Hello!!!</h3>
    <p>This is a great way to edit HTML! Reasons:</p>

    <!-- Comment
         We shouldn't have to explain why this is better than just a
         textarea but we will just for you...
    -->

    <ol class="reasons">
        <li>Syntax highlighting</li>
        <li>Tabs work great</li>
        <li>Code folding</li>
    </ol>
</Rock:CodeEditor>

Alternately, you can provide the contents of the code to edit in the Text property of the control.

Rock:MarkdownEditor

Convert to HTML
*Italic*
**Bold**


[Link](http://www.rockrms.com)

![Image](/Assets/Images/rock-logo-black.svg)

> Blockquote

* Apples
  * Red
  * Green
  * Blue
* Bananas
* Oranges

1. One
2. Two
3. Three

`Inline code` with backticks
```
# code block
print '3 backticks or'
print 'indent 4 spaces'
```

Horizontal Rule

---

                        
**bold**  *italics*  >quote  [link text](link address)  more

Rock:CampusAccountAmountPicker

(SingleAccount Mode)
$

-
<Rock:CampusAccountAmountPicker ID="caapExampleSingleAccount" runat="server" AmountEntryMode="SingleAccount" AutoPostBack="true" OnAccountChanged="caapExample_Changed" OnCampusChanged="caapExample_Changed" />

<hr />
<Rock:RockLiteral ID="lCaapExampleSingleAccountResultAccount" runat="server" Label="Resulting Campus Account" Text="-"/>

Rock:CampusAccountAmountPicker

(MultipleAccounts Mode)

-
<Rock:CampusAccountAmountPicker ID="caapExampleMultiAccount" runat="server" AmountEntryMode="MultipleAccounts" OnAccountChanged="caapExample_Changed" OnCampusChanged="caapExample_Changed" />

 <hr />
<Rock:RockLiteral ID="lCaapExampleMultiAccountResultAccount" runat="server" Label="Resulting Campus Accounts" Text="-" />

CSS Rollovers

You often run across situations where you would like buttons or links to appear when you hover over a selection of code. Instead of using jQuery toggles you can use the CSS classes below. These classes can be applied to any tags. In order to support nested rollovers the actions must be direct descendants of their containers. On touch enabled devices the rollover-items will always be displayed.
(roll over the box to see effect)
Delete Export
<div class="alert alert-info rollover-container">
    <em>(roll over the box to see effect)</em>
    <div class="rollover-item pull-right">
        <a class="btn btn-default btn-xs" href="#">Delete</a>
        <a class="btn btn-default btn-xs" href="#">Export</a>
    </div>
</div>

Rock jQuery UI Library

To help promote consistence we have created a standard Rock jQuery UI Library. Below are the current functions with their usage patterns.

rockFadeIn()

Use this to fade in a selected DOM object in. The function hides the selector and then fades it in. Using this object will help provide consistent fade behavior.

Usage Examples
  • PrayerSession.ascx - Used when moving from one prayer request to another.
  • Check-in Layouts - Used to fade in the `<body>`
I Fade In
Press To Fade
<div class="js-fadepanel alert alert-info">
    I Fade In
</div>

<a href="#" class="js-fadebutton btn btn-sm btn-action">Press To Fade</a>

<script>
    $('.js-fadebutton').on("click", function () {
        $('.js-fadepanel').rockFadeIn();
        return false;
    });
</script>

Tip: When used within an UpdatePanel, you'll want to add your fade-in handler to the endRequest event of the PageRequestManager similar to this:

<script>
    function FadePanelIn() {
        $("[id$='upYourPanel']").rockFadeIn();
    }

    $(document).ready(function () { FadePanelIn(); });
    Sys.WebForms.PageRequestManager.getInstance().add_endRequest(FadePanelIn);
</script>

Gloria Dei | Home
Contact Us:
(281) 333-4535
Email:
gloriadei@gdlc.org
Get Directions
  • About
  • About Us
  • Beliefs
  • Careers
  • Ministries
  • Worship
  • Next Steps
  • Baptism
  • New Member Class
  • Discipleship
  • Serve
  • Small Groups
  • Weddings

Worship Services

Traditional Worship
at 8:30am

Contemporary Worship
at 11am

Español
at 1:30pm

© 2025 Gloria Dei Lutheran Church. All Rights Reserved | Privacy Policy | Terms of Use

© 2025 Gloria Dei Lutheran Church.

Privacy Policy   |   Terms of Use

Powered by Rock

Powered by Rock