Example list of flags in mvc3 Razor,

I am converting my application into a razor template that I used Html.CheckBoxlistin one of my views. Please suggest me how I can achieve this in a razor.

Here is my code:

@Html.CheckBoxlist("abc", Model.CheckBoxListItems)
+3
source share
2 answers

Razor is just a lookup engine; it has nothing to do with the methods you invoke. If you have such a html helper method, it should work with@Html.CheckBoxlist(parameters)

+1
source

This link will help you.

http://www.appsdiaries.com/Article/3 Good Luck

Kaps hasija (Www.logiccafe.blogspot.in)

+1
source

Source: https://habr.com/ru/post/1790466/


All Articles