Class DojoHtmlExtensions
Html helper for rendering dojo editors
Inheritance
Inherited Members
Namespace: EPiServer.Personalization.VisitorGroups
Assembly: EPiServer.Framework.AspNet.dll
Version: 11.20.7Syntax
public static class DojoHtmlExtensions
Methods
DojoEditorFor<TModel>(HtmlHelper<TModel>, PropertyInfo, Object, String, String, DojoHtmlExtensions.LabelPosition)
Creates Dojo editor.
Declaration
public static MvcHtmlString DojoEditorFor<TModel>(this HtmlHelper<TModel> html, PropertyInfo propertyInfo, object htmlAttributes, string label, string labelCssClass, DojoHtmlExtensions.LabelPosition labelPosition)
Parameters
Type | Name | Description |
---|---|---|
System.Web.Mvc.HtmlHelper<TModel> | html | The HTML helper. |
System.Reflection.PropertyInfo | propertyInfo | The property. |
System.Object | htmlAttributes | Additional html attributes |
System.String | label | The label text. |
System.String | labelCssClass | Css class for the label |
DojoHtmlExtensions.LabelPosition | labelPosition | The position of the label relative to the editor control |
Returns
Type | Description |
---|---|
System.Web.Mvc.MvcHtmlString | The rendered HTML markup |
Type Parameters
Name | Description |
---|---|
TModel | The type of the model. |
DojoEditorFor<TModel, TValue>(HtmlHelper<TModel>, Expression<Func<TModel, TValue>>)
Creates Dojo editor.
Declaration
public static MvcHtmlString DojoEditorFor<TModel, TValue>(this HtmlHelper<TModel> html, Expression<Func<TModel, TValue>> expression)
Parameters
Type | Name | Description |
---|---|---|
System.Web.Mvc.HtmlHelper<TModel> | html | The HTML helper. |
System.Linq.Expressions.Expression<System.Func<TModel, TValue>> | expression | The property expression. |
Returns
Type | Description |
---|---|
System.Web.Mvc.MvcHtmlString | The rendered HTML markup |
Type Parameters
Name | Description |
---|---|
TModel | The type of the model. |
TValue | The type of the value. |
DojoEditorFor<TModel, TValue>(HtmlHelper<TModel>, Expression<Func<TModel, TValue>>, Object)
Creates Dojo editor.
Declaration
public static MvcHtmlString DojoEditorFor<TModel, TValue>(this HtmlHelper<TModel> html, Expression<Func<TModel, TValue>> expression, object htmlAttributes)
Parameters
Type | Name | Description |
---|---|---|
System.Web.Mvc.HtmlHelper<TModel> | html | The HTML helper. |
System.Linq.Expressions.Expression<System.Func<TModel, TValue>> | expression | The property expression. |
System.Object | htmlAttributes | Additional html attributes |
Returns
Type | Description |
---|---|
System.Web.Mvc.MvcHtmlString | The rendered HTML markup |
Type Parameters
Name | Description |
---|---|
TModel | The type of the model. |
TValue | The type of the value. |
DojoEditorFor<TModel, TValue>(HtmlHelper<TModel>, Expression<Func<TModel, TValue>>, Object, String, String)
Creates Dojo editor.
Declaration
public static MvcHtmlString DojoEditorFor<TModel, TValue>(this HtmlHelper<TModel> html, Expression<Func<TModel, TValue>> expression, object htmlAttributes, string label, string labelCssClass)
Parameters
Type | Name | Description |
---|---|---|
System.Web.Mvc.HtmlHelper<TModel> | html | The HTML helper. |
System.Linq.Expressions.Expression<System.Func<TModel, TValue>> | expression | The property expression. |
System.Object | htmlAttributes | Additional html attributes |
System.String | label | The label text. |
System.String | labelCssClass | Css class for the label |
Returns
Type | Description |
---|---|
System.Web.Mvc.MvcHtmlString | The rendered HTML markup |
Type Parameters
Name | Description |
---|---|
TModel | The type of the model. |
TValue | The type of the value. |
DojoEditorFor<TModel, TValue>(HtmlHelper<TModel>, Expression<Func<TModel, TValue>>, Object, String, String, DojoHtmlExtensions.LabelPosition)
Creates Dojo editor.
Declaration
public static MvcHtmlString DojoEditorFor<TModel, TValue>(this HtmlHelper<TModel> html, Expression<Func<TModel, TValue>> expression, object htmlAttributes, string label, string labelCssClass, DojoHtmlExtensions.LabelPosition labelPosition)
Parameters
Type | Name | Description |
---|---|---|
System.Web.Mvc.HtmlHelper<TModel> | html | The HTML helper. |
System.Linq.Expressions.Expression<System.Func<TModel, TValue>> | expression | The property expression. |
System.Object | htmlAttributes | Additional html attributes |
System.String | label | The label text. |
System.String | labelCssClass | Css class for the label |
DojoHtmlExtensions.LabelPosition | labelPosition | The position of the label relative to the editor control |
Returns
Type | Description |
---|---|
System.Web.Mvc.MvcHtmlString | The rendered HTML markup |
Type Parameters
Name | Description |
---|---|
TModel | The type of the model. |
TValue | The type of the value. |