AjaxCheckBoxList

Cascading CheckboxList using binding to parent 

show code
The AjaxCheckboxList renders a list of checkboxes, needs an url, js func or controller defined to get data from.
It can be bound to parent controls.

Select all option 

Setting SelectAll option to get a checkbox that will toggle select/unselect all items
show code
AjaxCheckboxListDemo/Index.cshtml
@(Html.Awe().AjaxCheckboxList("SelectAllOptChkl")
.SelectAll()
.Url(Url.Action("GetCategories", "Data")))

Using predefined parameters 

setting parameter parent = { Fruits, Legumes } using .Parameter and .ParameterFunc extensions



Comments