J
Jack Wright
Dear All,
In a multiline field if I enter the following way:
Mangesh
Anant
Kodilkar
There is a carriage return after each word.
Now when I press save,it loses the CRLF characters. This is not
correct. Even after the page is reloaded the CRLF's are lost. I get
this problem on my PC (XP), on Win (2000), on Win (NT & 98). So I
don't think this is machine specific.
I tried to debug the problem and was surprised to find that it is a
..NET Framework 1.0 bug.
This does not happen in .NET Framework 1.1.
I have checked this on pages coding own XMLSerializer.
Creation of Object from XML nodes truncates the enter characters in
Framework 1.0.
The Trace before the WebService call and after WebService call show
that the CRLF character is eaten up by the serializer.
We tried to solve the problem in following way:
ITextBox.GetMyValue: Replace CRLF with 2 special characters
RecObj.Insert: Replace special characters with CRLF
ITBTextBox.SetMyValue: Replace special characters with CRLF
But this will affect performance. How do I proceed?
Please guide.
TALIA
Many Regards
Jack
In a multiline field if I enter the following way:
Mangesh
Anant
Kodilkar
There is a carriage return after each word.
Now when I press save,it loses the CRLF characters. This is not
correct. Even after the page is reloaded the CRLF's are lost. I get
this problem on my PC (XP), on Win (2000), on Win (NT & 98). So I
don't think this is machine specific.
I tried to debug the problem and was surprised to find that it is a
..NET Framework 1.0 bug.
This does not happen in .NET Framework 1.1.
I have checked this on pages coding own XMLSerializer.
Creation of Object from XML nodes truncates the enter characters in
Framework 1.0.
The Trace before the WebService call and after WebService call show
that the CRLF character is eaten up by the serializer.
We tried to solve the problem in following way:
ITextBox.GetMyValue: Replace CRLF with 2 special characters
RecObj.Insert: Replace special characters with CRLF
ITBTextBox.SetMyValue: Replace special characters with CRLF
But this will affect performance. How do I proceed?
Please guide.
TALIA
Many Regards
Jack