This is a migrated thread and some comments may be shown as answers.

Checkbox Issue

2 Answers 68 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Matt
Top achievements
Rank 1
Matt asked on 23 Apr 2012, 09:23 AM
Hello all,

The first column in our grid contains checkboxes.  Clicking on them doesn't toggle between checked and unchecked as though they're read-only.


I can see no settings that indicate the column isn't anything other than editable.

HeaderGridview.Rows[0].Cells[0].ReadOnly = false

I tried to get round it by capturing an event and toggling it in code but the CellClick doesn't fire if you click a cell containing a checkbox and the mousedown event doesn't tell you which column you clicked on. 

I did post this question to support but just got the "can you send us a project" response which I don't have the time to do so i'm posting the question to the wider world.

2 Answers, 1 is accepted

Sort by
0
Matt
Top achievements
Rank 1
answered on 23 Apr 2012, 09:52 AM
Solved.
0
Matthew
Top achievements
Rank 1
answered on 28 May 2012, 01:45 AM
Hi Matt, what was the solution?
Tags
GridView
Asked by
Matt
Top achievements
Rank 1
Answers by
Matt
Top achievements
Rank 1
Matthew
Top achievements
Rank 1
Share this question
or