I have some problems with the ASP.NET Literal
control because it isn't rendering the <br/>
tag.
code
string strTemp = task.Description.ToString();
lit_description.Text = strTemp.Replace("\r\n", "<br/>");
output:
LG SERVICE TICKET<br/><br/> <br/><br/>- DATE IN (eg. Feb 11, 2011):<br/><br/>- DATE OUT (eg. Feb 11, 2011):<br/><br/>- Client Has Critical Data (fees will apply):<br/><br/>- Windows Password: <br/><br/>- Accessories:<br/><br/><br/><br/><br/>Client Complaint:<br/><br/><br/><br/>
Set it's
Mode
toPassThrough
: