Kentico 8.2 API Reference
Kentico 8.2 API Reference
Namespaces
CMS.Helpers
HTMLHelper Class
HTMLHelper Methods
AddToHeader Method
EncodeAngleBrackets Method
EncodeForHtmlAttribute Method
EncodeLinkReference Method
EncodeQuotes Method
EnsureLineEnding Method
EnsureURLPrefixes Method
FixFormAction Method
FixRTLText Method
FixUrl Method
FixViewstate Method
FixXHTML Method
GetAttributeValue Method
GetConvertTableEnum Method
GetCSSFileLink Method
GetFormAction Method
GetLink Method
GetSafeColorFromHtml Method
GetUniqueControlID Method
HighlightHTML Method
HTMLDecode Method
HTMLEncode Method
HTMLEncodeLineBreaks Method
HtmlToPlainText Method
LimitLength Method
ReformatHTML Method
RemoveFormName Method
RemoveScripts Method
RemoveTitleId Method
ReplaceTagParameter Method
ResolveCSSClientUrls Method
ResolveCSSUrls Method
ResolveUrls Method
SpanMsg Method
StripTags Method
UnResolveUrls Method
UseNoFollowForUsersLinks Method
HTMLHelper
AddToHeader Method
Adds the given HTML code to the header of the page.
Namespace:
CMS.Helpers
Assembly:
CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax
C#
Copy
public
static
void
AddToHeader
(
Page
page
,
string
html
)
Parameters
page
Type:
System.Web.UI
Page
Page
html
Type:
System
String
HTML to add
See Also
Reference
HTMLHelper Class
CMS.Helpers Namespace
Copyright (c) 2015 Kentico Software
Send comments on this topic to
support@kentico.com