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

[Solved] Problem with "ReadOnly" attribute in EditMode

3 Answers 93 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.
Maria
Top achievements
Rank 1
Maria asked on 28 Dec 2010, 06:43 PM

Hi All!!
I posted this message in the General Discussions, but nobody answer .... Anyone can help me? ......

I'm, using the "ReadOnly" attribute in  a class for a column that I want to show in the Grid, but I donĀ“t want to edit. If in the Grid, I select the "GridEditMode" as InLine the "ReadOnly" attribute works O.K., but If I change "GridEditMode" to "InForm" or "PopUp", the attribute does not work....
Is it not supported in "InForm" or "PopUp" or I'm missing something ?????   

Thanks

Maria

3 Answers, 1 is accepted

Sort by
0
Alex
Top achievements
Rank 1
answered on 18 Jan 2011, 08:36 PM
I have the same problem...
0
Atanas Korchev
Telerik team
answered on 19 Jan 2011, 08:30 AM
Hello,

 ASP.NET MVC does not support the ReadOnly attribute when Html.EditorFor is used. The grid uses the same in PopUp and InForm edit modes hence the problem. You can check this for additional info.

Regards,
Atanas Korchev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
steve
Top achievements
Rank 1
answered on 08 Dec 2011, 08:37 AM
I have the same problem .... and this makes the inform and popup useless for editing.  Fix this please.
Tags
Grid
Asked by
Maria
Top achievements
Rank 1
Answers by
Alex
Top achievements
Rank 1
Atanas Korchev
Telerik team
steve
Top achievements
Rank 1
Share this question
or