TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
How to Enable or Disable Check Box in Webgrid Base on Model Value
Mukesh Kumar
Dec 01
2015
Code
3.6
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
expand
grid.Column
(
columnName: "bool1",
header: "bool1",
format: (item) =
>
@Html.Raw
(
"
<
input
type
=
'checkbox'
" + ((
item.bool1
==true) ? "checked" : "") + "
disabled
=
'disabled'
/>
"
)
)
Asp.net
Enable or Disable Check Box
Model Value