Hi everyone.
I have a member type with 4 additional properties: 2 text and 2 boolean.
When I create the macro for registering a new member, the text fields work perfectly via the TextBoxFor helper,
example:
@Html.TextBoxFor(m => registerModel.MemberProperties[1].Value, new { @class = editorClass})
but I can't find a way to use the CheckBoxFor helper for the other two fields.
Boolean in memberproperties
Hi everyone. I have a member type with 4 additional properties: 2 text and 2 boolean. When I create the macro for registering a new member, the text fields work perfectly via the TextBoxFor helper, example:
@Html.TextBoxFor(m => registerModel.MemberProperties[1].Value, new { @class = editorClass})
but I can't find a way to use the CheckBoxFor helper for the other two fields.
Can someone help me?
Thank you!
is working on a reply...