本文整理汇总了C#中System.Web.UI.HtmlControls.HtmlGenericControl.AddCssClass方法的典型用法代码示例。如果您正苦于以下问题:C# HtmlGenericControl.AddCssClass方法的具体用法?C# HtmlGenericControl.AddCssClass怎么用?C# HtmlGenericControl.AddCssClass使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类System.Web.UI.HtmlControls.HtmlGenericControl
的用法示例。
在下文中一共展示了HtmlGenericControl.AddCssClass方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: OnInit
protected override void OnInit( EventArgs e )
{
base.OnInit( e );
var service = new PhoneNumberService();
foreach ( dynamic item in service.Queryable()
.Where( n => n.PersonId == Person.Id )
.OrderBy( n => n.NumberTypeValue.Order )
.Select( n => new
{
Number = n.Number,
Unlisted = n.IsUnlisted,
Type = n.NumberTypeValue.Name
}
) )
{
var li = new HtmlGenericControl( "li" );
ulPhoneNumbers.Controls.Add( li );
var anchor = new HtmlGenericControl( "a" );
li.Controls.Add( anchor );
anchor.Attributes.Add("href", "#");
anchor.AddCssClass( "highlight" );
var icon = new HtmlGenericControl( "i" );
anchor.Controls.Add( icon );
icon.AddCssClass( "fa fa-phone" );
if ( item.Unlisted )
{
var span = new HtmlGenericControl( "span" );
anchor.Controls.Add( span );
span.AddCssClass( "phone-unlisted" );
span.Attributes.Add( "data-value", PhoneNumber.FormattedNumber( item.Number ) );
span.InnerText = "Unlisted";
}
else
{
anchor.Controls.Add( new LiteralControl( PhoneNumber.FormattedNumber( item.Number ) ) );
}
anchor.Controls.Add( new LiteralControl( " " ) );
var small = new HtmlGenericControl( "small" );
anchor.Controls.Add( small );
small.InnerText = item.Type;
}
if ( !String.IsNullOrWhiteSpace( Person.Email ) )
{
hlEmail.Text = Person.Email;
hlEmail.NavigateUrl = "mailto:" + Person.Email;
}
}
示例2: AddPageInfo
private void AddPageInfo(Control colDiv5)
{
var small = new HtmlGenericControl("p");
small.AddCssClass("control-label text-muted");
small.Style.Add(HtmlTextWriterStyle.FontSize, "95%");
small.InnerText = $"Showing Page {PageIndex} of {PageCount} | Total Records : {RecordCount}";
colDiv5.Controls.Add(small);
}
示例3: BuildControls
/// <summary>
/// Builds the controls.
/// </summary>
/// <param name="setData">if set to <c>true</c> [set data].</param>
private void BuildControls( bool setData )
{
var showGridFilterControls = GetAttributeValue( "ShowGridFilter" ).AsBoolean();
string errorMessage = string.Empty;
// get just the schema of the data until we actually need the data
var dataSetSchema = GetData( out errorMessage, true );
if ( !string.IsNullOrWhiteSpace( errorMessage ) )
{
phContent.Visible = false;
nbError.Text = errorMessage;
nbError.Visible = true;
}
else
{
phContent.Controls.Clear();
var mergeFields = GetDynamicDataMergeFields();
if ( dataSetSchema != null )
{
string formattedOutput = GetAttributeValue( "FormattedOutput" );
// load merge objects if needed by either for formatted output OR page title
if ( !string.IsNullOrWhiteSpace( GetAttributeValue( "PageTitleLava" ) ) || !string.IsNullOrWhiteSpace( formattedOutput ) )
{
int i = 1;
// Formatted output needs all the rows, so get the data regardless of the setData parameter
var dataSet = GetData( out errorMessage);
foreach ( DataTable dataTable in dataSet.Tables )
{
var dropRows = new List<DataRowDrop>();
foreach ( DataRow row in dataTable.Rows )
{
dropRows.Add( new DataRowDrop( row ) );
}
if ( dataSet.Tables.Count > 1 )
{
var tableField = new Dictionary<string, object>();
tableField.Add( "rows", dropRows );
mergeFields.Add( "table" + i.ToString(), tableField );
}
else
{
mergeFields.Add( "rows", dropRows );
}
i++;
}
}
// set page title
if ( !string.IsNullOrWhiteSpace( GetAttributeValue( "PageTitleLava" ) ) )
{
string title = GetAttributeValue( "PageTitleLava" ).ResolveMergeFields( mergeFields );
RockPage.BrowserTitle = title;
RockPage.PageTitle = title;
RockPage.Header.Title = title;
}
if ( string.IsNullOrWhiteSpace( formattedOutput ) )
{
bool personReport = GetAttributeValue( "PersonReport" ).AsBoolean();
int tableId = 0;
DataSet dataSet;
if ( setData == false )
{
dataSet = dataSetSchema;
}
else
{
dataSet = GetData( out errorMessage );
}
foreach ( DataTable dataTable in dataSet.Tables )
{
var div = new HtmlGenericControl( "div" );
div.AddCssClass( "grid" );
if ( GetAttributeValue( "PaneledGrid" ).AsBoolean() )
{
div.AddCssClass( "grid-panel" );
}
phContent.Controls.Add( div );
GridFilter = new GridFilter()
{
ID = string.Format("gfFilter{0}", tableId )
};
//.........这里部分代码省略.........
示例4: CreateChildControls
/// <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();
base.Controls.Clear();
_dfltShowButton = new Button();
base.Controls.Add( _dfltShowButton );
_dfltShowButton.ID = "default";
_dfltShowButton.Attributes.Add( "style", "display:none" );
_dialogPanel = new Panel();
base.Controls.Add( _dialogPanel );
_dialogPanel.ID = "panel";
_dialogPanel.CssClass = "rock-modal rock-modal-frame";
_dialogPanel.Attributes.Add( "style", "display:none" );
_headerPanel = new Panel();
_dialogPanel.Controls.Add( _headerPanel );
_headerPanel.ID = "headerPanel";
_headerPanel.CssClass = "modal-header";
_contentPanel = new Panel();
_dialogPanel.Controls.Add( _contentPanel );
_contentPanel.ID = "contentPanel";
_contentPanel.CssClass = "modal-body";
_footerPanel = new Panel();
_dialogPanel.Controls.Add( _footerPanel );
_footerPanel.ID = "footerPanel";
_footerPanel.CssClass = "modal-footer";
_closeLink = new HtmlGenericControl( "A" );
_headerPanel.Controls.Add( _closeLink );
_closeLink.ID = "closeLink";
_closeLink.Attributes.Add( "HRef", "#" );
_closeLink.Attributes.Add( "class", "close" );
_closeLink.InnerHtml = "×";
_titleH3 = new HtmlGenericControl( "h3" );
_titleH3.AddCssClass( "modal-title" );
_headerPanel.Controls.Add( _titleH3 );
_title = new LiteralControl();
_title.Text = string.Empty;
_titleH3.Controls.Add( _title );
_subtitleSmall = new HtmlGenericControl( "small" );
_headerPanel.Controls.Add( _subtitleSmall );
_subtitle = new LiteralControl();
_subtitle.Text = string.Empty;
_subtitleSmall.Controls.Add( _subtitle );
_cancelLink = new HtmlAnchor();
_footerPanel.Controls.Add( _cancelLink );
_cancelLink.ID = "cancelLink";
_cancelLink.Attributes.Add( "class", "btn btn-link" );
_cancelLink.InnerText = "Cancel";
_serverSaveLink = new HtmlAnchor();
_footerPanel.Controls.Add( _serverSaveLink );
_serverSaveLink.ID = "serverSaveLink";
_serverSaveLink.Attributes.Add( "class", "btn btn-primary" );
_serverSaveLink.ServerClick += SaveLink_ServerClick;
_saveLink = new HtmlAnchor();
_footerPanel.Controls.Add( _saveLink );
_saveLink.ID = "saveLink";
_saveLink.Attributes.Add( "class", "btn btn-primary modaldialog-save-button" );
this.PopupControlID = _dialogPanel.ID;
this.CancelControlID = _cancelLink.ID;
}
示例5: FilterControl
/// <summary>
/// Creates the control needed to filter (query) values using this field type.
/// </summary>
/// <param name="configurationValues">The configuration values.</param>
/// <param name="id">The identifier.</param>
/// <param name="required">if set to <c>true</c> [required].</param>
/// <param name="filterMode">The filter mode.</param>
/// <returns></returns>
public virtual Control FilterControl( Dictionary<string, ConfigurationValue> configurationValues, string id, bool required, FilterMode filterMode )
{
HtmlGenericControl row = new HtmlGenericControl( "div" );
row.ID = id;
row.AddCssClass( "row" );
row.AddCssClass( "field-criteria" );
var compareControl = FilterCompareControl( configurationValues, id, required, filterMode );
var valueControl = FilterValueControl( configurationValues, id, required, filterMode );
string col1Class = string.Empty;
string col2Class = "col-md-12";
if ( compareControl != null )
{
HtmlGenericControl col1 = new HtmlGenericControl( "div" );
col1.ID = string.Format( "{0}_col1", id );
row.Controls.Add( col1 );
if ( !compareControl.Visible )
{
col1Class = string.Empty;
col2Class = "col-md-12";
}
else if ( compareControl is Label )
{
col1Class = "col-md-2";
col2Class = "col-md-10";
}
else
{
col1Class = "col-md-4";
col2Class = "col-md-8";
}
col1.AddCssClass( col1Class );
col1.Controls.Add( compareControl );
}
HtmlGenericControl col2 = new HtmlGenericControl( "div" );
col2.ID = string.Format( "{0}_col2", id );
row.Controls.Add( col2 );
col2.AddCssClass( col2Class );
col2.Controls.Add( valueControl );
return row;
}
示例6: BuildAccountControls
// displays accounts
private void BuildAccountControls()
{
if ( this.Accounts != null )
{
bool firstAccount = true;
foreach ( var account in this.Accounts )
{
HtmlGenericControl formGroup = new HtmlGenericControl( "div" );
formGroup.AddCssClass( "form-group" );
phAccounts.Controls.Add( formGroup );
CurrencyBox tb = new CurrencyBox();
tb.ID = "tbAccount_" + account.Key;
tb.Attributes.Add( "name", tb.ID );
tb.Attributes.Add( "type", "number" );
tb.CssClass = "input-account";
if ( firstAccount )
{
tb.CssClass = "input-account active";
firstAccount = false;
}
Label label = new Label();
label.AssociatedControlID = tb.ID;
label.ID = "labelFund_" + account.Key;
label.Text = account.Value;
formGroup.Controls.Add( label );
formGroup.Controls.Add( tb );
}
}
}
示例7: InstantiateIn
/// <summary>
/// When implemented by a class, defines the <see cref="T:System.Web.UI.Control"/> object that child controls and templates belong to. These child controls are in turn defined within an inline template.
/// </summary>
/// <param name="container">The <see cref="T:System.Web.UI.Control"/> object to contain the instances of controls from the inline template.</param>
public void InstantiateIn( Control container )
{
HtmlGenericControl ulSizeOptions = new HtmlGenericControl( "ul" );
ulSizeOptions.AddCssClass( "grid-pagesize pagination pagination-sm" );
container.Controls.Add( ulSizeOptions );
for ( int i = 0; i < ItemLinkListItem.Length; i++ )
{
ItemLinkListItem[i] = new HtmlGenericContainer( "li" );
ulSizeOptions.Controls.Add( ItemLinkListItem[i] );
ItemLink[i] = new LinkButton();
ItemLinkListItem[i].Controls.Add( ItemLink[i] );
ItemLink[i].CausesValidation = false;
ItemLink[i].Click += new EventHandler( lbItems_Click );
}
ItemLink[0].Text = "50";
ItemLink[1].Text = "500";
ItemLink[2].Text = "5,000";
// itemCount
HtmlGenericControl divItemCount = new HtmlGenericControl( "div" );
divItemCount.Attributes.Add( "class", "grid-itemcount" );
container.Controls.Add( divItemCount );
itemCountDisplay = new Literal();
divItemCount.Controls.Add( itemCountDisplay );
// Pagination
NavigationPanel = new HtmlGenericControl( "ul" );
NavigationPanel.AddCssClass( "grid-pager pagination pagination-sm" );
container.Controls.Add( NavigationPanel );
for ( var i = 0; i < PageLinkListItem.Length; i++ )
{
PageLinkListItem[i] = new HtmlGenericContainer( "li" );
NavigationPanel.Controls.Add( PageLinkListItem[i] );
PageLink[i] = new LinkButton();
PageLinkListItem[i].Controls.Add( PageLink[i] );
PageLink[i].Click += new EventHandler( lbPage_Click );
}
PageLink[0].Text = "«";
PageLink[PageLinkListItem.Length - 1].Text = "»";
}
示例8: CreateChildControls
/// <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()
{
Controls.Clear();
ddlFilterType = new RockDropDownList();
Controls.Add( ddlFilterType );
ddlFilterType.ID = this.ID + "_ddlFilter";
var component = Rock.Reporting.DataFilterContainer.GetComponent( FilterEntityTypeName );
if ( component != null )
{
component.Options = FilterOptions;
filterControls = component.CreateChildControls( FilteredEntityType, this, this.FilterMode );
}
else
{
filterControls = new Control[0];
}
ddlFilterType.AutoPostBack = true;
ddlFilterType.SelectedIndexChanged += ddlFilterType_SelectedIndexChanged;
ddlFilterType.Items.Clear();
foreach ( var section in AuthorizedComponents )
{
foreach ( var item in section.Value )
{
if ( !this.ExcludedFilterTypes.Any( a => a == item.Key ) )
{
ListItem li = new ListItem( item.Value, item.Key );
if ( !string.IsNullOrWhiteSpace( section.Key ) )
{
li.Attributes.Add( "optiongroup", section.Key );
}
var filterComponent = Rock.Reporting.DataFilterContainer.GetComponent( item.Key );
if ( filterComponent != null )
{
string description = Reflection.GetDescription( filterComponent.GetType() );
if ( !string.IsNullOrWhiteSpace( description ) )
{
li.Attributes.Add( "title", description );
}
}
li.Selected = item.Key == FilterEntityTypeName;
ddlFilterType.Items.Add( li );
}
}
}
hfExpanded = new HiddenField();
Controls.Add( hfExpanded );
hfExpanded.ID = this.ID + "_hfExpanded";
hfExpanded.Value = "True";
lbDelete = new LinkButton();
Controls.Add( lbDelete );
lbDelete.ID = this.ID + "_lbDelete";
lbDelete.CssClass = "btn btn-xs btn-danger ";
lbDelete.Click += lbDelete_Click;
lbDelete.CausesValidation = false;
var iDelete = new HtmlGenericControl( "i" );
lbDelete.Controls.Add( iDelete );
iDelete.AddCssClass( "fa fa-times" );
cbIncludeFilter = new RockCheckBox();
cbIncludeFilter.ContainerCssClass = "filterfield-checkbox";
Controls.Add( cbIncludeFilter );
cbIncludeFilter.ID = this.ID + "_cbIncludeFilter";
}
示例9: InstantiateIn
/// <summary>
/// When implemented by a class, defines the <see cref="T:System.Web.UI.Control"/> object that child controls and templates belong to. These child controls are in turn defined within an inline template.
/// </summary>
/// <param name="container">The <see cref="T:System.Web.UI.Control"/> object to contain the instances of controls from the inline template.</param>
public void InstantiateIn( Control container )
{
DataControlFieldCell cell = container as DataControlFieldCell;
if ( cell != null )
{
HtmlGenericControl a = new HtmlGenericControl( "a" );
a.Attributes.Add( "href", "#" );
a.AddCssClass( "minimal" );
HtmlGenericControl buttonIcon = new HtmlGenericControl( "i" );
buttonIcon.Attributes.Add( "class", "fa fa-bars" );
a.Controls.Add( buttonIcon );
cell.Controls.Add( a );
}
}
示例10: RefreshView
private void RefreshView()
{
pnlNotActive.Visible = false;
pnlNotActiveYet.Visible = false;
pnlClosed.Visible = false;
pnlActive.Visible = false;
lblActiveWhen.Text = string.Empty;
if ( CurrentCheckInState == null || IsMobileAndExpiredDevice() )
{
NavigateToPreviousPage();
return;
}
if ( CurrentCheckInState.Kiosk.FilteredGroupTypes( CurrentCheckInState.ConfiguredGroupTypes ).Count == 0 )
{
pnlNotActive.Visible = true;
}
else if ( !CurrentCheckInState.Kiosk.HasLocations( CurrentCheckInState.ConfiguredGroupTypes ) )
{
DateTimeOffset activeAt = CurrentCheckInState.Kiosk.FilteredGroupTypes( CurrentCheckInState.ConfiguredGroupTypes ).Select( g => g.NextActiveTime ).Min();
lblActiveWhen.Text = activeAt.ToString();
pnlNotActiveYet.Visible = true;
}
else if ( !CurrentCheckInState.Kiosk.HasActiveLocations( CurrentCheckInState.ConfiguredGroupTypes ) )
{
pnlClosed.Visible = true;
}
else
{
pnlActive.Visible = true;
}
List<int> locations = new List<int>();
foreach ( var groupType in CurrentCheckInState.Kiosk.FilteredGroupTypes( CurrentCheckInState.ConfiguredGroupTypes ) )
{
foreach ( var location in groupType.KioskGroups.SelectMany( g => g.KioskLocations ).Distinct() )
{
if ( !locations.Contains( location.Location.Id ) )
{
locations.Add( location.Location.Id );
var locationAttendance = KioskLocationAttendance.Read( location.Location.Id );
if ( locationAttendance != null )
{
var lUl = new HtmlGenericControl( "ul" );
lUl.AddCssClass( "checkin-count-locations" );
phCounts.Controls.Add( lUl );
var lLi = new HtmlGenericControl( "li" );
lUl.Controls.Add( lLi );
lLi.InnerHtml = string.Format( "{0}: <strong>{1}</strong>", locationAttendance.LocationName, locationAttendance.CurrentCount );
foreach ( var groupAttendance in locationAttendance.Groups )
{
var gUl = new HtmlGenericControl( "ul" );
gUl.AddCssClass( "checkin-count-groups" );
lLi.Controls.Add( gUl );
var gLi = new HtmlGenericControl( "li" );
gUl.Controls.Add( gLi );
gLi.InnerHtml = string.Format( "{0}: <strong>{1}</strong>", groupAttendance.GroupName, groupAttendance.CurrentCount );
foreach ( var scheduleAttendance in groupAttendance.Schedules )
{
var sUl = new HtmlGenericControl( "ul" );
sUl.AddCssClass( "checkin-count-schedules" );
gLi.Controls.Add( sUl );
var sLi = new HtmlGenericControl( "li" );
sUl.Controls.Add( sLi );
sLi.InnerHtml = string.Format( "{0}: <strong>{1}</strong>", scheduleAttendance.ScheduleName, scheduleAttendance.CurrentCount );
}
}
}
}
}
}
}
示例11: FilterControl
/// <summary>
/// Creates the control needed to filter (query) values using this field type.
/// </summary>
/// <param name="configurationValues">The configuration values.</param>
/// <param name="id">The identifier.</param>
/// <param name="required">if set to <c>true</c> [required].</param>
/// <returns></returns>
public virtual Control FilterControl ( Dictionary<string, ConfigurationValue> configurationValues, string id, bool required )
{
HtmlGenericControl row = new HtmlGenericControl( "div" );
row.ID = id;
row.AddCssClass( "row" );
row.AddCssClass( "field-criteria" );
var compareControl = FilterCompareControl( configurationValues, id, required );
var valueControl = FilterValueControl( configurationValues, id, required );
bool isLabel = compareControl is Label;
if ( compareControl != null )
{
HtmlGenericControl col1 = new HtmlGenericControl( "div" );
col1.ID = string.Format( "{0}_col1", id );
row.Controls.Add( col1 );
col1.AddCssClass( isLabel ? "col-md-2" : "col-md-4" );
col1.Controls.Add( compareControl );
}
HtmlGenericControl col2 = new HtmlGenericControl( "div" );
col2.ID = string.Format( "{0}_col2", id );
row.Controls.Add( col2 );
col2.AddCssClass( isLabel ? "col-md-10" : "col-md-8" );
col2.Controls.Add( valueControl );
return row;
}
示例12: AddPagerPreviousButton
private void AddPagerPreviousButton(Control parentControl)
{
var li = new HtmlGenericControl("li");
var anchor = new HtmlAnchor
{
HRef = QueryStringHelper.AddUpdateQueryStringGetUrl("pageIndex", PageIndex - 1),
InnerHtml = "Prev",
Title = "Go to previous page"
};
if (PageIndex == 1)
{
li.AddCssClass("disabled");
anchor.HRef = "javascript:void(o)";
}
li.Controls.Add(anchor);
parentControl.Controls.Add(li);
}
示例13: AddPagerLi
private void AddPagerLi(Control parentControl)
{
for (var i = StartIndex; i <= EndIndex; i++)
{
var li = new HtmlGenericControl("li");
var anchor = new HtmlAnchor
{
HRef = QueryStringHelper.AddUpdateQueryStringGetUrl("pageIndex", i),
InnerText = i.ToString(),
Title = "Go to page " + i
};
if (PageIndex == i)
{
li.AddCssClass("active");
}
li.Controls.Add(anchor);
parentControl.Controls.Add(li);
}
}
示例14: AddPagerLastPageAnchor
private void AddPagerLastPageAnchor(Control paginationUl)
{
var li = new HtmlGenericControl("li");
var anchor = new HtmlAnchor
{
HRef = QueryStringHelper.AddUpdateQueryStringGetUrl("pageIndex", LastIndex),
InnerHtml = "Last",
Title = "Go to last page"
};
if (PageIndex == LastIndex)
{
li.AddCssClass("disabled");
anchor.HRef = "javascript:void(o)";
}
li.Controls.Add(anchor);
paginationUl.Controls.Add(li);
}
示例15: btnManager_Click
/// <summary>
/// Handles the Click event of the btnManager control.
/// </summary>
/// <param name="sender">The source of the event.</param>
/// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
protected void btnManager_Click( object sender, EventArgs e )
{
ManagerLoggedIn = false;
pnlNotActive.Visible = false;
pnlNotActiveYet.Visible = false;
pnlClosed.Visible = false;
pnlActive.Visible = false;
pnlManager.Visible = false;
tbPIN.Text = string.Empty;
// Get room counts
List<int> locations = new List<int>();
foreach ( var groupType in CurrentCheckInState.Kiosk.FilteredGroupTypes( CurrentCheckInState.ConfiguredGroupTypes ) )
{
var lUl = new HtmlGenericControl( "ul" );
lUl.AddCssClass( "kioskmanager-count-locations" );
phCounts.Controls.Add( lUl );
foreach ( var location in groupType.KioskGroups.SelectMany( g => g.KioskLocations ).OrderBy( l => l.Location.Name).Distinct() )
{
if ( !locations.Contains( location.Location.Id ) )
{
locations.Add( location.Location.Id );
var locationAttendance = KioskLocationAttendance.Read( location.Location.Id );
if ( locationAttendance != null )
{
var lLi = new HtmlGenericControl( "li" );
lUl.Controls.Add( lLi );
lLi.InnerHtml = string.Format( "<strong>{0}</strong>: {1}", locationAttendance.LocationName, locationAttendance.CurrentCount );
var gUl = new HtmlGenericControl( "ul" );
gUl.AddCssClass( "kioskmanager-count-groups" );
lLi.Controls.Add( gUl );
foreach ( var groupAttendance in locationAttendance.Groups )
{
var gLi = new HtmlGenericControl( "li" );
gUl.Controls.Add( gLi );
gLi.InnerHtml = string.Format( "<strong>{0}</strong>: {1}", groupAttendance.GroupName, groupAttendance.CurrentCount );
var sUl = new HtmlGenericControl( "ul" );
sUl.AddCssClass( "kioskmanager-count-schedules" );
gLi.Controls.Add( sUl );
foreach ( var scheduleAttendance in groupAttendance.Schedules.Where( s => s.IsActive ) )
{
var sLi = new HtmlGenericControl( "li" );
sUl.Controls.Add( sLi );
sLi.InnerHtml = string.Format( "<strong>{0}</strong>: {1}", scheduleAttendance.ScheduleName, scheduleAttendance.CurrentCount );
}
}
}
}
}
}
pnlManagerLogin.Visible = true;
// set manager timer to 10 minutes
hfRefreshTimerSeconds.Value = "600";
}