When a radGrid column is a non-templated regular column, and the database field is empty, I see the gridlines ok, eg using skin Outlook2007:
<telerik:GridBoundColumn DataField="FileName" HeaderText="FileName" |
SortExpression="FileName" UniqueName="FileName"> |
</telerik:GridBoundColumn> |
But, when I convert the column to a template column, and the field is empty or it contains only spaces, the gridlines disappear for that cell:
<telerik:GridTemplateColumn DataField="FileName" HeaderText="FileName" |
SortExpression="FileName" UniqueName="FileName"> |
<EditItemTemplate> |
<asp:TextBox ID="FileNameTextBox" runat="server" |
Text='<%# Bind("FileName") %>'"></asp:TextBox> |
</EditItemTemplate> |
<ItemTemplate> |
<asp:Label ID="FileNameLabel" runat="server" |
Text='<%# Eval("FileName") %>'></asp:Label> |
</ItemTemplate> |
</telerik:GridTemplateColumn> |
Why is this? And how can I work around this problem?
Thanks, Steve