Quantcast
Channel: Web Forms
Viewing all articles
Browse latest Browse all 23244

Multiline view in Gridview Textbox

$
0
0

I have a multiline textbox, the contents of which I'm saving into a database field, replacing newline with <br/>, so that the data can later be displayed in a Gridview exactly how it was entered.  The data is displayed fine in the <ItemTemplate> (<br/> tags are rendered as line breaks), but when I click edit, I see the <br/> tags instead of new lines.  How can I have the <br/> tags rendered as line breaks in the <EditItemTemplate> section?  Thanks.


Viewing all articles
Browse latest Browse all 23244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>