A
Amit
Hi,
I have one application developed in Microsoft Office Infopath 2003.
In application, users can navigate between views. Data in view is saved in
database in xml format on Next button click by calling the web service from
Jscript.
When user clicks the Prev button or opens then form next time, I am
populating rich text box by retrieving the xml saved in database.
Problem: Multi line data is displayed in single line in rich text box, after
retrieving data from database.
Same data (multi line) is displayed properly, if I use the Text Box instead
of Rich Text Box.
Note: I have given all available formatting in Rich Text Box Properties
(Paragraph breaks, Character Formatting, Full Rich Text and Wrap Text).
I kept the break point in Jscript by using ‘debugger;’ statement and checked
the XDocument.DOM.xml after assigning the value retrieved from database to
Rich Text Box and there also multiline data is coming properly. But when data
is displayed in form’s view in rich text box, all enter characters are lost
and multi line data is displayed in single line.
Regards,
Amit.
I have one application developed in Microsoft Office Infopath 2003.
In application, users can navigate between views. Data in view is saved in
database in xml format on Next button click by calling the web service from
Jscript.
When user clicks the Prev button or opens then form next time, I am
populating rich text box by retrieving the xml saved in database.
Problem: Multi line data is displayed in single line in rich text box, after
retrieving data from database.
Same data (multi line) is displayed properly, if I use the Text Box instead
of Rich Text Box.
Note: I have given all available formatting in Rich Text Box Properties
(Paragraph breaks, Character Formatting, Full Rich Text and Wrap Text).
I kept the break point in Jscript by using ‘debugger;’ statement and checked
the XDocument.DOM.xml after assigning the value retrieved from database to
Rich Text Box and there also multiline data is coming properly. But when data
is displayed in form’s view in rich text box, all enter characters are lost
and multi line data is displayed in single line.
Regards,
Amit.