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

[Solved] How to make a column noteditable?

1 Answer 94 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
ESM Dev
Top achievements
Rank 1
ESM Dev asked on 19 May 2009, 01:44 PM
Requirement is to display table data in the grid. But when edited couple of columns needs to be edited and others should not be edited. Using radgrid with autogeneratecolumns property to true. Answers are encouraged.

Thanks
Venkat

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 19 May 2009, 02:26 PM
Hi Venkat,

Use the RadGrid's ColumnCreated event and set ReadOnly to TRUE for columns of your preference (you can check which column fires the event by its UniqueName, which matches the DataField for autogeneratedcolumns).

http://www.telerik.com/help/aspnet-ajax/grdusingcolumns.html

Best wishes,
Dimo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
General Discussions
Asked by
ESM Dev
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or