Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 867 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 867 Bytes

ListControlExtensions

This is use for asp.net mvc to extend RadioButtonList and CheckBoxList

Getting Started

1.Open your Nuget package Manager dialog

2.Search by this keyword : ListControlExtension

3.Install it,and now,you can beginnning to use this extension use statement like"Html.CheckBoxListFor(....." in your view page

Methods

  • Html.RadioButtonList(string name, List items, string cssClass=null)
  • Html.RadioButtonListFor<TModel, TProperty>(Expression<Func<TModel, TProperty>> expression, List items, string cssClass=null)
  • Html.CheckBoxList(string name, List items, string cssClass = null)
  • Html.CheckBoxListFor<TModel, TProperty>(Expression<Func<TModel, TProperty>> expression, List items, string cssClass = null)