Is it possible to utilize GridCheckBoxColumn if the underlying datafield value stores string Y and N instead of 1 and 0?
I would like to display a read only version of the checkbox that is still legible. If I use the template to set it to Enabled="false", it's very light. (and the GridTemplateColumn's ReadOnly property doesn't work)
I would like to display a read only version of the checkbox that is still legible. If I use the template to set it to Enabled="false", it's very light. (and the GridTemplateColumn's ReadOnly property doesn't work)
<telerik:GridTemplateColumn UniqueName="emailprimaryuser" HeaderText="Email Primary User" |
ReadOnly="true" DataField="emailprimaryuser" SortExpression="emailprimaryuser"> |
<ItemTemplate> |
<asp:CheckBox Enabled="false" ID="chkemailprimaryuser" runat="server" Checked='<%# DataBinder.Eval (Container.DataItem,"emailprimaryuser").ToString()="Y" %>' |
/> |
</ItemTemplate> |
</telerik:GridTemplateColumn> |