Last post Dec 04, 2013 02:56 AM by Terry Guo - MSFT
Dec 02, 2013 08:28 PM|dbayo09|LINK
please how can i insert a message into the database and display it exactly as the user type it into the multiline textbox i.e if the user add breakline or many space i want it to be inserted into the databse like that and also when databinding it back
to the User interface it should appear exactly as it was input into the database. Thanks
Dec 03, 2013 03:46 PM|some_yahoo|LINK
The problem might be when you're trying to show the results back on the web page. HTML standards ignore whitespace so this...
...will render as
Using <pre> will show it as
Tell me if this helps
Dec 04, 2013 02:56 AM|Terry Guo - MSFT|LINK
The textbox can't to save exactly format string to database.
So, I suggest you using the html editor tool, like the kind editor, it will meet your requirements.
About the Kind Editor, you can search in bing and download it.
Hope it can help you.