Hi folks,
I'm using ASP.NET with C# code behind. I've got a GridView on my page that has several checkbox fields that are bound to database fields. I want the checkboxes to be visible and editable during normal "EditItemTempla te". However during "ItemTempla te" display, I want it to be ReadOnly. In other words, unless the users are in edit mode, they cannot toggle the checkbox. Apparently checkboxes don't have a ReadOnly option. I've tried setting "Enabled" to false and it works, although it's too grayed-out for my tasted and I'd rather just set it to read only.
Any idea how to do this?
Robert
I'm using ASP.NET with C# code behind. I've got a GridView on my page that has several checkbox fields that are bound to database fields. I want the checkboxes to be visible and editable during normal "EditItemTempla te". However during "ItemTempla te" display, I want it to be ReadOnly. In other words, unless the users are in edit mode, they cannot toggle the checkbox. Apparently checkboxes don't have a ReadOnly option. I've tried setting "Enabled" to false and it works, although it's too grayed-out for my tasted and I'd rather just set it to read only.
Any idea how to do this?
Robert
Comment