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

"IsReadOnly" property problem...

1 Answer 5 Views
GridView
This is a migrated thread and some comments may be shown as answers.
luke
Top achievements
Rank 1
luke asked on 11 Mar 2011, 11:31 AM
Hi, at my radgridview i created some columns with templates inside, at specific condition i want set "IsReadOnly" property on true.  Unfortunetly columns are still editable when property is set to true. I need do some additional work to block editing of column beside of setting IsReadOnly=true ?

1 Answer, 1 is accepted

Sort by
0
Ivan Ivanov
Telerik team
answered on 11 Mar 2011, 01:47 PM
Hi Łukasz Hutyra,

Could you please throw some light upon the logic that sets the IsReadOnly property. What type of condition are you handling? Which version of RadGridView do you work with ?   
I have prepared an example project (I am applying it to my post) that depicts a case with a RadGridView, which has predefined CellEditTemplate on some columns. Checking/Unchecking a CheckBox results in setting the IsReadOnly property of the third GridViewDataColumn and it appears to be working fine. Sending a simple demo project, that clarifies your case better, via a support ticket, will be greatly appreciated.


Regards,
Ivan Ivanov
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
GridView
Asked by
luke
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
Share this question
or