Hello!
I'm playing around with RadGrid and spent already some days researching on how to customize autogenerated fields and have two questions:
How can I define a diferent label color for a required field or even the text/checkbox etc?
I read a bit about using ColumEditor and tried from the example:
<telerik:GridCheckBoxColumnEditor ID="requiredCheckBox" runat="server" >
<CheckBoxStyle BackColor="#edffc3" BorderColor="#ecbb0d" BorderStyle="Solid" ForeColor="#7fa822" />
</telerik:GridCheckBoxColumnEditor>
It makes the color as it should but even when the records are listed and not only for the edit/insert/update mode. How can I change this... and further, isn't there a generic way to do this instead of having to format all individual fields?
Another thing I'm trying to accomplish is to create a basic page with a RadGrid and EntityDataSource on it and apply the table on page load so I can do something similar as a master page for generic tables with few fields so if I decide to change something on the grid I can have it applied to all of them?
Is there a way to accomplish this?
Thanks
I'm playing around with RadGrid and spent already some days researching on how to customize autogenerated fields and have two questions:
How can I define a diferent label color for a required field or even the text/checkbox etc?
I read a bit about using ColumEditor and tried from the example:
<telerik:GridCheckBoxColumnEditor ID="requiredCheckBox" runat="server" >
<CheckBoxStyle BackColor="#edffc3" BorderColor="#ecbb0d" BorderStyle="Solid" ForeColor="#7fa822" />
</telerik:GridCheckBoxColumnEditor>
It makes the color as it should but even when the records are listed and not only for the edit/insert/update mode. How can I change this... and further, isn't there a generic way to do this instead of having to format all individual fields?
Another thing I'm trying to accomplish is to create a basic page with a RadGrid and EntityDataSource on it and apply the table on page load so I can do something similar as a master page for generic tables with few fields so if I decide to change something on the grid I can have it applied to all of them?
Is there a way to accomplish this?
Thanks