Hi Frantisek,
Really good to hear from you!
Let me retry with a bit more of context!
Our application is a hospital management system and deals with patient's medical records and medical history. The screen I'm working on is part of the discharge process, where the user needs a consolidated view of the treatment that the patient has received during the current inpatient admission.
The content includes: the diagnosis, doctor's notes, medication details, lab investigations etc.,
At the point of discharge, the application produces a formatted discharge summary in a RichTextArea control by extracting data from multiple tables. The users need the ability to edit this summary, save it and print it for the patient.
A lot of this content is text, and we are able to format it programmatically in the RichTextArea control. But some of the content needs to be output in tabular format into the RichTextArea control, so that it is readable. E.g.
LAB INVESTIGATIONS
TEST RESULT NORMAL RANGE
----------------------------- ------------------------- -----------------
Haemoglobin 12.7 14.0 - 17.4
Glucose in Blood 153 mg/dL 60 - 140
Leukocytes in Blood 15900 10*3/uL 4 - 11
My attempts to format the data into a tabular format in the RichTextArea is not yielding the desired output.
The HTML <table> tags that I'm producing is being ignored by the RichTextArea control and the content of the table is being rendered onto a single line instead.
Is there something wrong in what I'm doing?
Sarosh