HtmlHelpers.UserProfileSettingsControlHtmlHelper Class
Namespace: Nucleus.ViewFeatures.HtmlHelpers
Assembly: Nucleus.ViewFeatures.dll
Html helper for rendering user profile settings controls.
Internal Use
This Html helper is used by the Account module and the users control panel and is not intended for use by other extensions.
Methods
BuildControl<TModel>
(IHtmlHelper<TModel, TModel>, UserProfileValue, List) Method
BuildControl<TModel> (IHtmlHelper<TModel, TModel> value, UserProfileValue list, List htmlAttributes)
Builds the control for the user profile value based on its data type and other properties.
GetIdExpression<TModel, TProperty>
(Expression<TModel>) Method
GetIdExpression<TModel, TProperty> (Expression<TModel> expression)
Returns an expression that retrieves the Id of the UserProfileProperty.
Parameters
| Name |
Type |
|
expression
|
System.Linq.Expressions.Expression<TModel>
|
GetValueExpression<TModel, TProperty>
(Expression<TModel>) Method
GetValueExpression<TModel, TProperty> (Expression<TModel> expression)
Returns an expression that retrieves the Value of the UserProfileValue.
Parameters
| Name |
Type |
|
expression
|
System.Linq.Expressions.Expression<TModel>
|
MergeAttributes
(Object, String) Method
MergeAttributes (Object htmlAttributes, String parameters)
Merges the passed-in HTML attributes with the generated parameters for the user profile property control.
Parameters
| Name |
Type |
|
htmlAttributes
|
Object
|
|
parameters
|
System.Collections.Generic.Dictionary<System.String
|
PrepareParameters
(UserProfileProperty) Method
PrepareParameters (UserProfileProperty property)
Create attributes for input controls for user profile properties based on profile property settings.
UserProfileSettingsControl<T0, T1>
(IHtmlHelper<T0, T0, T1>, List, RenderModes) Method
UserProfileSettingsControl<T0, T1> (IHtmlHelper<T0, T0, T1> list, List renderMode, RenderModes htmlAttributes)
Creates a user profile settings control for a given user profile value, with specified render mode and HTML attributes.
Internal Use
This Html helper is used by the Account module and the users control panel and is not intended for use by other extensions.