I have an RadDocument and added a MailMergeDataSource to it.
I want to merge the first record.
When using this:
editor.Document.MailMergeDataSource.MoveToFirst();
resultDoc = editor.Document.MailMergeCurrentRecord();
... the CurrentItem seems to be empty:
But, doing it this way:
editor.Document.MailMergeDataSource.MoveToFirst();
editor.Document.MailMergeDataSource.MoveToNext();
editor.Document.MailMergeDataSource.MoveToPrevious();
resultDoc = editor.Document.MailMergeCurrentRecord();
..., the CurrentItem is Ok:
I want to merge the first record.
When using this:
editor.Document.MailMergeDataSource.MoveToFirst();
resultDoc = editor.Document.MailMergeCurrentRecord();
... the CurrentItem seems to be empty:
But, doing it this way:
editor.Document.MailMergeDataSource.MoveToFirst();
editor.Document.MailMergeDataSource.MoveToNext();
editor.Document.MailMergeDataSource.MoveToPrevious();
resultDoc = editor.Document.MailMergeCurrentRecord();
..., the CurrentItem is Ok: