Page 1 of 1

MVC CheckBox And RadioButton Enhancements Revision

Posted: April 15th, 2022, 8:47 am
by JustinVanRegenmorter
As of DesignTime Revision 2236 and RunTime Revision 936 Checkboxes and Radio Buttons in MVC applications two new controls have been added to MVC applications; CheckBoxList and RadioButtonList.
Overview Page.PNG
Implemented a static array for properties to allow for a simple way to setup the Text and Value list for the CheckBoxList, RadioButtonLIst, and Dropdown controls. The static array is also available on the PreSelectValue property for the CheckBoxList and Dropdown controls.
Property Array.PNG
Property Array.PNG (9.8 KiB) Viewed 1183 times
Property Array.PNG
Property Array.PNG (9.8 KiB) Viewed 1183 times
In order to use the CheckBoxList and RadioButtonList controls properly make sure to set the HtmlId to allow the PreSelectValue property to function and to force single selection on the RadioButton.