Reputation: 31
I am converting my application in razor template,i used the Html.CheckBoxlist
in one of my views.
Please suggest me how can I achieve this in razor
Here is my code:
@Html.CheckBoxlist("abc", Model.CheckBoxListItems)
Upvotes: 3
Views: 9519
Reputation: 414
Razor is simply a view engine it has nothing to do with the methods you call.
If you have such an html helper method, it should work with @Html.CheckBoxlist(parameters)
Upvotes: 1