T
tshad
If you have nothing in a cell, the cell doesn't have the inset appearance
that all the other cells do.
Normally, you could just put a "&ndsp;" in the cell if the it is blank.
But how do you do this if you are binding it?
<asp:TemplateColumn Visible="true" HeaderText="JobTitle"
ItemStyle-Font-Bold="true"
ItemStyle-Width="195px" ItemStyle-VerticalAlign="Top">
<itemtemplate>
<asp:Label ID="JobTitle" Text='<%#
Container.DataItem("JobTitleShort")%>' runat="server"/>
</itemtemplate>
</asp:TemplateColumn>
Is there a way to say that if the cell is blank (or null entry), to put an
"&ndsp;" in it (or something that would fix the inset problem)?
Thanks,
Tom
that all the other cells do.
Normally, you could just put a "&ndsp;" in the cell if the it is blank.
But how do you do this if you are binding it?
<asp:TemplateColumn Visible="true" HeaderText="JobTitle"
ItemStyle-Font-Bold="true"
ItemStyle-Width="195px" ItemStyle-VerticalAlign="Top">
<itemtemplate>
<asp:Label ID="JobTitle" Text='<%#
Container.DataItem("JobTitleShort")%>' runat="server"/>
</itemtemplate>
</asp:TemplateColumn>
Is there a way to say that if the cell is blank (or null entry), to put an
"&ndsp;" in it (or something that would fix the inset problem)?
Thanks,
Tom