Click here to Skip to main content
15,897,291 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How can I create a checkboxList in asp.net MVC and then to handle the event with the checkboxList
Posted

 
Share this answer
 
 
Share this answer
 
you can create the checkbox list in this way and then get the value of the checkbox list through jquery and through json call the function from the controller

VB
@Html.CheckBox("nameofthecheckbox")
                       @Html.Label("text which show with checkbox;)
 
Share this answer
 
Comments
Sudheer Nimmagadda 21-May-12 10:11am    
Hi Thank you for your useful answer, but i need to in Razor View engine, how can i do using razor view cshtml code

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900