1

I want to add break
or something similar to XML headerText Filed

<?xml version="1.0" standalone="yes" ?>
<results table="New_Table" 
         keyColumn="Column1"  
         defaultSortColumn="Column1" 
         defaultSortDirection="ASC" 
         enableExcelExport="true" 
         excelTemplate="~/Content/Test.xls">
  <columns>
    <column name="OWNERNAME" headerText="Owner Name" align="left" width="25"/>
  </columns>
</results>

I tried this by did not work:

<column name="OWNERNAME" headerText="Owner <br/>Name" 
        HtmlEncode="False" align="left" width="25"/>
kjhughes
  • 106,133
  • 27
  • 181
  • 240
john
  • 105
  • 1
  • 2
  • 12
  • Elements of any kind, including `
    `, may not appear in any XML attribute values, including the attribute value of `headerText` in your example. You can try ` ` for line feed and ` ` for carriage return. See the duplicate link for further details.
    – kjhughes Mar 12 '18 at 15:59

0 Answers0