RadioGroupAttribute(string)

Configures a radio list editor with constant compile-time radio buttons.

public RadioGroupAttribute(params string options)

Parameters

options string

Options are of the format "{Key}:{Label}". If the label is omitted, the key will also be used as label.

RadioGroupAttribute(Type)

Renders a radio list editor with radio buttons retrieved from the specified options provider.

public RadioGroupAttribute(Type optionsProviderType)

Parameters

optionsProviderType Type

The select options provider type. Must implement ISelectOptionsProvider.

In this article