November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
Since this looks like a nested class, try doing nameof @Html.TextBox(nameof(Model.Test.Example), new { @class = "form-control"})
I tried but getting the same result ->
@Html.TextBox(nameof(Model.Test.Example), Model.Test.Example, new {@class="form-control"})
The second paramter is to set initial value :)
Hi,
I want to display form via block (viewcomponent), but the form is generating textbox with contentarea & currentpage name.
e.g ->
Generates ->
TestContentArea is contentarea where block is added
How to generate name which only contains viewmodel field name like Test.Example ?