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

Particular grid cell editable/readonly base on checkbox check

0 Answers 69 Views
GridView
This is a migrated thread and some comments may be shown as answers.
deva subramanian
Top achievements
Rank 1
deva subramanian asked on 05 Jul 2013, 11:31 AM
Hi telerik,

i have a scenario that based on the check box selection in the grid row ,one of the cell in the row should be editable.

i tried the below code but not works
void radGridView1_CellBeginEdit(object sender, GridViewCellCancelEventArgs e) 
    if ((int)this.radGridView1.CurrentRow.Cells[2].Value < 10) 
    { 
        e.Cancel = true
    } 

in the attached image if i check the checkbox column,i should able to edit the column3.other wise the other columns should be readonly..

please assist me.

Note: am working for a company where they purchased licensed telerik winforms product..

Thanks
Dev.

No answers yet. Maybe you can help?

Tags
GridView
Asked by
deva subramanian
Top achievements
Rank 1
Share this question
or