Here is how i created my Checkbox:
@Html.CheckBoxFor(model => model.IsFinal, new { @readonly = “true”, id = “chkFinal” })
I don’t want it read only anymore, but hidden. How can i go about this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Great , its MVC I want to know you want to hide this check box on some event or just want this as hidden field or you want check box but its should not be visible on page, Let me know I can help you for sure
If you want as hidden field use
If you want to change this box to hidden after some event o you page you can do it with javascript
If you find this helpful vote it..