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.
↧