I.e. im wondering how i can achieve something like
<th><span>Discount</span>PLC</th>
In declaring a gridview columns such as
<asp:TemplateField HeaderText="Discount" HeaderStyle-Width="60px" SortExpression="discount">
<ItemTemplate>
<asp:Label ID="DiscountField" runat="server" Text='<%# Eval("discount").ToString() + "%" %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
How can I add this styling to the header text ?
in some headertext and couldn't get it working with a TemplateField. So I just used for all the text except where I wanted the line break - and it worked perfectly. Could be an easy win depending on your requirement. – niico Jan 31 '19 at 15:32