Insert Repeating Section - InfoPath Dev
in

InfoPath Dev

Insert Repeating Section

Last post 12-20-2006 02:58 AM by nukkumatti. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 12-20-2006 02:27 AM

    Insert Repeating Section

    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

    Re: Insert Repeating Section

    SOLVED

    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);
    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.