Author: kctan80 | Posted on: 11/6/2008 12:35:20 AM | Views : 365

Greetings, I'm facing some problem on spaces issue.
Scenario: User has entered multiple spaces in between of single word. For example: "Test 123". The data has been successfully saved into MSSQL 2005 as it is. No truncation of spaces.
However when displaying "Test 123" in IE7 or Firefox, multiple spaces has been trimmed into single space. "Test 123" become "Test 123". This apply to all html control like , , and etc..

Temporal solution is when retrieving data, replace all spaces with "nbsp;" and web browser able to show all the spaces. But it is quite troublesome to adjust in every single targets. Could anyone please help on how to display all spaces? I don't want system to automatically trimmed it.
Thanks in advance.

Regards, kctan_80. ...

Go to the complete details ...