Insastnarty
New Member
I have some problem with \[code\]asp:Literal\[/code\] because it isn't rendering the
tags \[code\]asp:Literal\[/code\] Controller code\[code\] string strTemp = task.Description.ToString(); lit_description.Text = strTemp.Replace("\r\n", "<br/>");\[/code\]output: \[code\]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/>\[/code\]
tags \[code\]asp:Literal\[/code\] Controller code\[code\] string strTemp = task.Description.ToString(); lit_description.Text = strTemp.Replace("\r\n", "<br/>");\[/code\]output: \[code\]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/>\[/code\]