I am trying to make my popup-edit window match the columns that are displayed in my radgrid (Which is decided by the user). The only way I can see how to change weather a column is displayed in the edit window is by setting the "ReadOnly" property.
This works fine from the front end, but how do I change a column to readonly = false from the code behind?
.aspx
<telerik:GridBoundColumn DataField="Custom5" EmptyDataText="&nbsp;" HeaderText="Custom5" SortExpression="Custom5" UniqueName="Custom5" Display="false" ReadOnly="true">
</telerik:GridBoundColumn>
This works fine from the front end, but how do I change a column to readonly = false from the code behind?
.aspx
<telerik:GridBoundColumn DataField="Custom5" EmptyDataText="&nbsp;" HeaderText="Custom5" SortExpression="Custom5" UniqueName="Custom5" Display="false" ReadOnly="true">
</telerik:GridBoundColumn>
.aspx.cs - I am looking to set the property back to false, but it does not exist!!
RadGrid1.Columns.FindByUniqueName(LI.Value).ReadOnly=
false;
Thanks,
Greg