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

javascript - How to synchronize the Three.js and HTML/SVG coordinate systems (especially w.r.t. the y-axis)? -

javascript - How do I find how many occurences are there of a highlighted string, and which occurence is it? -

java - Reading data from multiple zip files and combining them to one -