CheckBoxHiddenInputRenderMode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Controls the rendering of hidden input fields when using CheckBox tag helpers or html helpers.
public enum class CheckBoxHiddenInputRenderMode
public enum CheckBoxHiddenInputRenderMode
type CheckBoxHiddenInputRenderMode =
Public Enum CheckBoxHiddenInputRenderMode
- Inheritance
-
CheckBoxHiddenInputRenderMode
Fields
Name | Value | Description |
---|---|---|
0 | Hidden input fields will not be automatically rendered. If checkbox is not checked, no value will be posted. |
|
1 | Hidden input fields will be rendered inline with each checkbox. Use this for legacy ASP.NET MVC behavior. |
|
2 | Hidden input fields will be rendered for each checkbox at the bottom of the form element. This is the preferred render method and default MVC behavior.
If CanRenderAtEndOfForm is |