iitagsdotorg
07-25-2009, 10:17 PM
I have little problem with binding data to a form.
I have an object called GuestSpeaker which has a property 'Abstract'. I would like to present the information on a form using the FormView component.
The problem now is that de string Abstract can contain newline characters but in HTML they are not displayed. How can I replace all newline characters in the string Abstract to '<br />' tags. Same question for other characters that need to be replaced like é, ?, à...
Thanks,
I have an object called GuestSpeaker which has a property 'Abstract'. I would like to present the information on a form using the FormView component.
The problem now is that de string Abstract can contain newline characters but in HTML they are not displayed. How can I replace all newline characters in the string Abstract to '<br />' tags. Same question for other characters that need to be replaced like é, ?, à...
Thanks,
