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

[Solved] displaying field in grid and not in edit form

3 Answers 123 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Bassam
Top achievements
Rank 1
Bassam asked on 19 Feb 2011, 01:53 AM
I am using telerik mvc grid
GridEditMode = popup

I want to display a field in the grid and don't want to edit it in edit form.

how to do it ??

the use case is for versioning every record to make optimistic concurrency

thank you in advance

3 Answers, 1 is accepted

Sort by
0
Gustavo
Top achievements
Rank 1
answered on 13 Apr 2011, 03:25 PM
I´m with the same problem.
Do you have some solution?
0
Kiran
Top achievements
Rank 1
answered on 14 Apr 2011, 12:48 AM
You will need to create editor templates for your ViewModels as in this example here. This way you can choose what fields can be editable. 
0
Rafael
Top achievements
Rank 1
answered on 14 Apr 2011, 11:26 AM
try .ReadOnly(true) for the field
Tags
Grid
Asked by
Bassam
Top achievements
Rank 1
Answers by
Gustavo
Top achievements
Rank 1
Kiran
Top achievements
Rank 1
Rafael
Top achievements
Rank 1
Share this question
or