Suoranta.WebApp.Types Namespace
Suoranta.WebApp - Developer API

WidgetExtensions..::..DataValueType<(Of <(<'TViewComponent, TBuilder>)>)> Method

Sets HTML data-value-type (used by serializeJSON) to the value.

Namespace:  Suoranta.WebApp.Kendo.RazorHelpers
Assembly:  Suoranta.WebApp (in Suoranta.WebApp.dll)

Syntax


public static TBuilder DataValueType<TViewComponent, TBuilder>(
	this TBuilder builder,
	string value
)
where TViewComponent : WidgetBase
where TBuilder : WidgetBuilderBase<TViewComponent, TBuilder>

Type Parameters

TViewComponent
The type of the view component.
TBuilder
The type of the builder.

Parameters

builder
Type: TBuilder
The builder.
value
Type: String

Return Value

builder