asp.net mvc - checkbox is not showing in foreach statement in partial view in mvc 5 -


i using mvc 5 razor view develop something.i using partial view show data on search button. need show checkbox every row in table i.e in foreach statement in view.

the code tried -

<input type="checkbox" name="@item.kidfeeid" id = "@item.kidfeeid"  value="@item.kidfeeid" />  @html.checkboxfor(modelitem=> true,item.kidfeeid)      @html.checkbox("kidfeeid", new { value = item.kidfeeid })   @html.checkbox("checkname")  

but of above code unable display checkbox in browser.its blank space in browser on inspect html shows code not render it. can 1 me solution.


Comments

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -