Class HtmlHelperExtensions
Inheritance
System.Object
HtmlHelperExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: EPiServer.Shell.dll
Version: 11.20.7
Syntax
public static class HtmlHelperExtensions
Methods
Anchor(HtmlHelper, String, String, String, String)
Declaration
public static TagBuilder Anchor(this HtmlHelper html, string href, string target, string title, string text)
Parameters
Type |
Name |
Description |
System.Web.Mvc.HtmlHelper |
html |
|
System.String |
href |
|
System.String |
target |
|
System.String |
title |
|
System.String |
text |
|
Returns
Type |
Description |
System.Web.Mvc.TagBuilder |
|
Anchor(HtmlHelper, String, String, String, String, Int32)
Declaration
public static TagBuilder Anchor(this HtmlHelper html, string href, string target, string title, string text, int maxTextLength)
Parameters
Type |
Name |
Description |
System.Web.Mvc.HtmlHelper |
html |
|
System.String |
href |
|
System.String |
target |
|
System.String |
title |
|
System.String |
text |
|
System.Int32 |
maxTextLength |
|
Returns
Type |
Description |
System.Web.Mvc.TagBuilder |
|
AutoUpdate(HtmlHelper, Int32)
Declaration
public static string AutoUpdate(this HtmlHelper html, int delay)
Parameters
Type |
Name |
Description |
System.Web.Mvc.HtmlHelper |
html |
|
System.Int32 |
delay |
|
Returns
Type |
Description |
System.String |
|
AutoUpdate(HtmlHelper, Int32, String)
Declaration
public static string AutoUpdate(this HtmlHelper html, int delay, string actionName)
Parameters
Type |
Name |
Description |
System.Web.Mvc.HtmlHelper |
html |
|
System.Int32 |
delay |
|
System.String |
actionName |
|
Returns
Type |
Description |
System.String |
|
AutoUpdate(HtmlHelper, TimeSpan)
Declaration
public static string AutoUpdate(this HtmlHelper html, TimeSpan delay)
Parameters
Type |
Name |
Description |
System.Web.Mvc.HtmlHelper |
html |
|
System.TimeSpan |
delay |
|
Returns
Type |
Description |
System.String |
|
AutoUpdate(HtmlHelper, TimeSpan, String)
Declaration
public static string AutoUpdate(this HtmlHelper html, TimeSpan delay, string actionName)
Parameters
Type |
Name |
Description |
System.Web.Mvc.HtmlHelper |
html |
|
System.TimeSpan |
delay |
|
System.String |
actionName |
|
Returns
Type |
Description |
System.String |
|
Declaration
public static string Paging(this HtmlHelper html, Pager status, string action)
Parameters
Type |
Name |
Description |
System.Web.Mvc.HtmlHelper |
html |
|
Pager |
status |
|
System.String |
action |
|
Returns
Type |
Description |
System.String |
|
Declaration
public static string Paging(this HtmlHelper html, Pager status, string action, object routeValues)
Parameters
Type |
Name |
Description |
System.Web.Mvc.HtmlHelper |
html |
|
Pager |
status |
|
System.String |
action |
|
System.Object |
routeValues |
|
Returns
Type |
Description |
System.String |
|
RenderTableRows(HtmlHelper, IEnumerable, String[])
Declaration
public static void RenderTableRows(this HtmlHelper html, IEnumerable tableRows, params string[] tableProperties)
Parameters
Type |
Name |
Description |
System.Web.Mvc.HtmlHelper |
html |
|
System.Collections.IEnumerable |
tableRows |
|
System.String[] |
tableProperties |
|
Declaration
public static string ShellLinkButton(this HtmlHelper html, string href, string target, string title, string text, string cssClass)
Parameters
Type |
Name |
Description |
System.Web.Mvc.HtmlHelper |
html |
|
System.String |
href |
|
System.String |
target |
|
System.String |
title |
|
System.String |
text |
|
System.String |
cssClass |
|
Returns
Type |
Description |
System.String |
|
Declaration
public static string ShellLinkButton(this HtmlHelper html, string href, string target, string title, string text, string cssClass, object htmlAttributes)
Parameters
Type |
Name |
Description |
System.Web.Mvc.HtmlHelper |
html |
|
System.String |
href |
|
System.String |
target |
|
System.String |
title |
|
System.String |
text |
|
System.String |
cssClass |
|
System.Object |
htmlAttributes |
|
Returns
Type |
Description |
System.String |
|
ShellValidationSummary(HtmlHelper)
Declaration
public static string ShellValidationSummary(this HtmlHelper htmlHelper)
Parameters
Type |
Name |
Description |
System.Web.Mvc.HtmlHelper |
htmlHelper |
|
Returns
Type |
Description |
System.String |
|
Tag(HtmlHelper, String, String)
Declaration
public static TagBuilder Tag(this HtmlHelper htmlHelper, string tagName, string cssClass)
Parameters
Type |
Name |
Description |
System.Web.Mvc.HtmlHelper |
htmlHelper |
|
System.String |
tagName |
|
System.String |
cssClass |
|
Returns
Type |
Description |
System.Web.Mvc.TagBuilder |
|