1
Reply

Default value for Checkbox

Sasi Reddy

Sasi Reddy

May 3 2014 5:48 AM
736
<tr>
<td align="right" >
@Html.LabelFor(model => model.LandCertificate,"Land Certificate")
</td>
<td>
@Html.CheckBoxFor(model => model.LandCertificate)
@Html.ValidationMessageFor(model => model.LandCertificate)
</td>
</tr>
 
This is my view.I need to set default value for that checkbox. how to do this one?..I have a value for checkbox in my controller that value i need to set. 

Answers (1)
Next Recommended Forum