I have code like the following:
public RadDocument SetPracticeNotesRtf(string practiceNotes)
{
return !string.IsNullOrEmpty(practiceNotes) ? new RtfFormatProvider().Import(practiceNotes) : null;
}
In the code block (a loop) I am working with:
var docMerger = new RadDocumentMerger(SetPracticeNotesRtf(firstNoteRtf));
docMerger.AppendDocument(SetPracticeNotesRtf(nextNoteRtf));
All code is working exactly as intended (the Rtf strings are well formed, etc.)--except that I don't get a merger. The firstNoteRtf does not change (other than the attempted merger) while the nextNoteRtf changes with each new record.
The intent is to consolidate log entries (all entries for a given day merged into one). However, no matter how I juggle the first/next etc. I always end up with either the first note or the last note - only.
What am I missing?