Class GadgetHtmlHelperExtensions
Inheritance
System.Object
GadgetHtmlHelperExtensions
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 GadgetHtmlHelperExtensions
Methods
Declaration
public static string AcceptButton(this HtmlHelper helper)
Parameters
Type |
Name |
Description |
System.Web.Mvc.HtmlHelper |
helper |
|
Returns
Type |
Description |
System.String |
|
Declaration
public static string AcceptButton(this HtmlHelper helper, object htmlAttributes)
Parameters
Type |
Name |
Description |
System.Web.Mvc.HtmlHelper |
helper |
|
System.Object |
htmlAttributes |
|
Returns
Type |
Description |
System.String |
|
Declaration
public static string AcceptButton(this HtmlHelper helper, object htmlAttributes, LocalizationService localizationService)
Parameters
Type |
Name |
Description |
System.Web.Mvc.HtmlHelper |
helper |
|
System.Object |
htmlAttributes |
|
LocalizationService |
localizationService |
|
Returns
Type |
Description |
System.String |
|
Declaration
public static MvcForm BeginGadgetForm(this HtmlHelper helper, string actionName)
Parameters
Type |
Name |
Description |
System.Web.Mvc.HtmlHelper |
helper |
|
System.String |
actionName |
|
Returns
Type |
Description |
System.Web.Mvc.Html.MvcForm |
|
Declaration
public static MvcForm BeginGadgetForm(this HtmlHelper helper, string actionName, object routeValues)
Parameters
Type |
Name |
Description |
System.Web.Mvc.HtmlHelper |
helper |
|
System.String |
actionName |
|
System.Object |
routeValues |
|
Returns
Type |
Description |
System.Web.Mvc.Html.MvcForm |
|
Declaration
public static string CancelButton(this HtmlHelper helper)
Parameters
Type |
Name |
Description |
System.Web.Mvc.HtmlHelper |
helper |
|
Returns
Type |
Description |
System.String |
|
Declaration
public static string CancelButton(this HtmlHelper helper, object htmlAttributes)
Parameters
Type |
Name |
Description |
System.Web.Mvc.HtmlHelper |
helper |
|
System.Object |
htmlAttributes |
|
Returns
Type |
Description |
System.String |
|
Declaration
public static string CancelButton(this HtmlHelper helper, object htmlAttributes, object routeValues)
Parameters
Type |
Name |
Description |
System.Web.Mvc.HtmlHelper |
helper |
|
System.Object |
htmlAttributes |
|
System.Object |
routeValues |
|
Returns
Type |
Description |
System.String |
|
Declaration
public static string CancelButton(this HtmlHelper helper, object htmlAttributes, object routeValues, LocalizationService localizationService)
Parameters
Type |
Name |
Description |
System.Web.Mvc.HtmlHelper |
helper |
|
System.Object |
htmlAttributes |
|
System.Object |
routeValues |
|
LocalizationService |
localizationService |
|
Returns
Type |
Description |
System.String |
|
ClearGadgetFeedback(HtmlHelper)
Declaration
public static string ClearGadgetFeedback(this HtmlHelper helper)
Parameters
Type |
Name |
Description |
System.Web.Mvc.HtmlHelper |
helper |
|
Returns
Type |
Description |
System.String |
|
GetGadgetId(HtmlHelper)
Declaration
public static Guid GetGadgetId(this HtmlHelper helper)
Parameters
Type |
Name |
Description |
System.Web.Mvc.HtmlHelper |
helper |
|
Returns
Type |
Description |
System.Guid |
|
SetGadgetFeedback(HtmlHelper, String)
Declaration
public static string SetGadgetFeedback(this HtmlHelper helper, string feedbackMessage)
Parameters
Type |
Name |
Description |
System.Web.Mvc.HtmlHelper |
helper |
|
System.String |
feedbackMessage |
|
Returns
Type |
Description |
System.String |
|
SetGadgetFeedback(HtmlHelper, String, Boolean, TimeSpan, Boolean)
Declaration
public static string SetGadgetFeedback(this HtmlHelper helper, string feedbackMessage, bool showAjaxLoader, TimeSpan hideAfter, bool fadeout)
Parameters
Type |
Name |
Description |
System.Web.Mvc.HtmlHelper |
helper |
|
System.String |
feedbackMessage |
|
System.Boolean |
showAjaxLoader |
|
System.TimeSpan |
hideAfter |
|
System.Boolean |
fadeout |
|
Returns
Type |
Description |
System.String |
|
Declaration
public static string ViewInputButton(this HtmlHelper helper, string text, string title, string actionName, object htmlAttributes)
Parameters
Type |
Name |
Description |
System.Web.Mvc.HtmlHelper |
helper |
|
System.String |
text |
|
System.String |
title |
|
System.String |
actionName |
|
System.Object |
htmlAttributes |
|
Returns
Type |
Description |
System.String |
|
Declaration
public static string ViewInputButton(this HtmlHelper helper, string text, string title, string actionName, string cssClass, object htmlAttributes)
Parameters
Type |
Name |
Description |
System.Web.Mvc.HtmlHelper |
helper |
|
System.String |
text |
|
System.String |
title |
|
System.String |
actionName |
|
System.String |
cssClass |
|
System.Object |
htmlAttributes |
|
Returns
Type |
Description |
System.String |
|
Declaration
public static string ViewInputButton(this HtmlHelper helper, string text, string title, string actionName, string cssClass, object htmlAttributes, object routeValues)
Parameters
Type |
Name |
Description |
System.Web.Mvc.HtmlHelper |
helper |
|
System.String |
text |
|
System.String |
title |
|
System.String |
actionName |
|
System.String |
cssClass |
|
System.Object |
htmlAttributes |
|
System.Object |
routeValues |
|
Returns
Type |
Description |
System.String |
|
ViewLink(HtmlHelper, String, String, String, Object)
Declaration
public static string ViewLink(this HtmlHelper helper, string text, string title, string actionName, object htmlAttributes)
Parameters
Type |
Name |
Description |
System.Web.Mvc.HtmlHelper |
helper |
|
System.String |
text |
|
System.String |
title |
|
System.String |
actionName |
|
System.Object |
htmlAttributes |
|
Returns
Type |
Description |
System.String |
|
ViewLink(HtmlHelper, String, String, String, String, Object)
Declaration
public static string ViewLink(this HtmlHelper helper, string text, string title, string actionName, string cssClass, object htmlAttributes)
Parameters
Type |
Name |
Description |
System.Web.Mvc.HtmlHelper |
helper |
|
System.String |
text |
|
System.String |
title |
|
System.String |
actionName |
|
System.String |
cssClass |
|
System.Object |
htmlAttributes |
|
Returns
Type |
Description |
System.String |
|
ViewLink(HtmlHelper, String, String, String, String, Object, Object)
Declaration
public static string ViewLink(this HtmlHelper helper, string text, string title, string actionName, string cssClass, object htmlAttributes, object routeValues)
Parameters
Type |
Name |
Description |
System.Web.Mvc.HtmlHelper |
helper |
|
System.String |
text |
|
System.String |
title |
|
System.String |
actionName |
|
System.String |
cssClass |
|
System.Object |
htmlAttributes |
|
System.Object |
routeValues |
|
Returns
Type |
Description |
System.String |
|
Declaration
public static string ViewLinkButton(this HtmlHelper helper, string text, string title, string actionName, object htmlAttributes)
Parameters
Type |
Name |
Description |
System.Web.Mvc.HtmlHelper |
helper |
|
System.String |
text |
|
System.String |
title |
|
System.String |
actionName |
|
System.Object |
htmlAttributes |
|
Returns
Type |
Description |
System.String |
|
Declaration
public static string ViewLinkButton(this HtmlHelper helper, string text, string title, string actionName, string cssClass, object htmlAttributes)
Parameters
Type |
Name |
Description |
System.Web.Mvc.HtmlHelper |
helper |
|
System.String |
text |
|
System.String |
title |
|
System.String |
actionName |
|
System.String |
cssClass |
|
System.Object |
htmlAttributes |
|
Returns
Type |
Description |
System.String |
|
Declaration
public static string ViewLinkButton(this HtmlHelper helper, string text, string title, string actionName, string cssClass, object htmlAttributes, object routeValues)
Parameters
Type |
Name |
Description |
System.Web.Mvc.HtmlHelper |
helper |
|
System.String |
text |
|
System.String |
title |
|
System.String |
actionName |
|
System.String |
cssClass |
|
System.Object |
htmlAttributes |
|
System.Object |
routeValues |
|
Returns
Type |
Description |
System.String |
|