Multiline column space strips

2 replies. Last post: April 7, 2010 10:44 AM by Ricardo Reis
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Ricardo ReisMember

Hello,

Im using webgrid with a column (edit type - multilinetextbox) and allowmultiline=true, and im seeing a odd behaviour.

 

when i edit the column i insert the next text:

"

***   test   ***

 

   test

 

 

"

I noticed that when i save the column in the database the multiple spaces are intact, but in display mode the text looks like this:

"

*** test ***

 

test"

 

He strips the multiple spaces and the last "enters" i did at the end of the text field.

 

Can someone help solve this problem?

 

Thanks is advanced

Ricardo

All times are GMT -5. The time now is 2:04 PM.
Previous Next