I have now created a new view with a Repeating Section that allows the user to create duplicates of that section. This section has only a Rich Text Box in it. At the bottom of this form there is a button that writes the contents of the Rich Text Boxes to the windows log.
Here is the code for this:
XPathNavigator nav1 = MainDataSource.CreateNavigator();
XPathNodeIterator iterator = nav1.Select("/my:myTipLead/my:TestingGroup/my:group4", NamespaceManager);
while (iterator.MoveNext())
{
XPathNavigator node = iterator.Current;
if (node.HasChildren)
{
node.MoveToFirstChild();
do
{
if (node.Name == "my:TestingRichTextBox")
{
EventLog.WriteEntry(ERROR_SOURCE, "node = " + node.Value);
}
} while (node.MoveToNext());
}
}
These are the only things on this form. After uploading the form to SharePoint and testing it, it failed on the 8th try.
The output to the event log looked like this:
node = 1...node = 1 node = 2...node = 1 node = 2 node = 3...node = 1 node = 2 node = 3 node = 4...node = 1 node = 2 node = 3 node = 4 node = 5...node = 1 node = 2 node = 3 node = 4 node = 5 node = 6...node = 1 node = 2 node = 3 node = 4 node = 5 node = 6 node = 7...node = 1 node = 2 node = 3 node = 4 node = 5 node = 6 node = 7 node =
I underlined and bolded the last one where it failed. Every one of these is a seperate log entry as the code suggests, but I put it in this format as to not take up a huge ammount of space. I seperated each set with "...". This is the most simple form I could create that duplicated the problem. Again, this works perfectly in debugging, so I wrote to the event long to debug the code while in SharePoint. Thank you for your help