Click here to Skip to main content
15,912,329 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
HI,

I want to make a single column in a grid view read only when edit button in that row is pressed.

For eg. i have 3 columns in a Gridview i.e.,

edit(button) : Name : time1 : time2

when edit button is clicked for a particular row i should not be able to edit Name field. Then after entering time column entry user should not be able to edit that full row.

Thanks,
Posted

1 solution

use template field and in edit-template field use label control
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900