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

[Solved] Gridview Edit mode

1 Answer 127 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Tim
Top achievements
Rank 1
Tim asked on 30 Jun 2008, 12:42 PM
Is it possible to have a gridview that allows people to edit rows, but prevent them from editing select columns within the gridview?

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 30 Jun 2008, 01:29 PM
Hello Tim,

You can set the ReadOnly property of the desired column to True. Check out the following code snippet.

ASPX:
<rad:GridBoundColumn DataField="FirstName" HeaderText="FirstName"  
            UniqueName="FirstName" ReadOnly="true"
 <rad:GridEditCommandColumn></rad:GridEditCommandColumn> 

Thanks
Shinu.
Tags
Grid
Asked by
Tim
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or