Insert Repeating Section - InfoPath Dev Sign in | Join | Help in Code InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » Code » Insert Repeating Section Insert Repeating Section Last post 12-20-2006 02:58 AM by nukkumatti. 1 replies. Page 1 of 1 (2 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 12-20-2006 02:27 AM nukkumatti Joined on 12-08-2005 Germany Posts 349 Insert Repeating Section Reply Contact Hi all, how do I instert/add a repeating/option section including all its controls dynamically and programatically (C#) into my infopath form ?Thx in advance Listen to Motörhead cos they play Rock'n Roll :) 12-20-2006 02:58 AM In reply to nukkumatti Joined on 12-08-2005 Germany Posts 349 Re: Insert Repeating Section Mark as Not AnswerMark as Answer... Reply Contact SOLVEDstring myRepeat = thisXDocument.DOM.selectSingleNode("my:myFields/my:Result/my:Results").xml; IXMLDOMDocument oXml = thisXDocument.CreateDOM(); oXml.async = false; oXml.loadXML(myRepeat); IXMLDOMNode parentNode = thisXDocument.DOM.selectSingleNode("my:myFields/my:Result"); parentNode.appendChild(oXml.documentElement); Listen to Motörhead cos they play Rock'n Roll :) Page 1 of 1 (2 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
string myRepeat = thisXDocument.DOM.selectSingleNode("my:myFields/my:Result/my:Results").xml; IXMLDOMDocument oXml = thisXDocument.CreateDOM(); oXml.async = false; oXml.loadXML(myRepeat); IXMLDOMNode parentNode = thisXDocument.DOM.selectSingleNode("my:myFields/my:Result"); parentNode.appendChild(oXml.documentElement);