I am trying to add a Table of Contents to a RadFlowDocument. I then export it to PDF. However, there is never anything in the TOC. If I replace the second parameter in the InsertField statement with "results", I see the word results on top of the document. The below snippet has what I think are the important parts of the code.
I am hoping that this is something obvious that I am missing, but either way, any help would be appreciated.