checkboxlist - Asp.net MVC- Unable to see checkbox boxes when using CheckBoxListFor -
i trying utilize checkboxlistfor in mvc generate checkboxes dynamically items.below view code checkboxlistfor:
<table class="form-table"> <tr> <td> <label>searchfor</label> </td> <td> @html.checkboxlistfor(model => model.postedsearchableobject.postedids, model => model.availableobjecttypes, objecttype => objecttype.id, objecttype => objecttype.name, model => model.selectedobjecttypes, position.horizontal) </td>
when run solution can see items need have checkbox (ex: item1, item2, item3), problem there no check-boxes next each item user select them. simple labels without check box.
does has thought why can't see check-boxes?
are showing code? have plugin downloaded?
asp.net-mvc checkboxlist
No comments:
Post a Comment