InsertAfter - InfoPath Dev
in

InfoPath Dev

InsertAfter

Last post 03-20-2006 02:29 AM by Coita Thierry. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 03-20-2006 02:29 AM

    InsertAfter

    Hi,

    I have a choice repeating section and I want to add a section directly under the other where I select somethings in my Dropdown listebox. InsertAfter is not available how I can make?

    My Code (here with insertBefore):

    string choix= e.Site.text;
    IXMLDOMNode Old = e.Site.parentNode.parentNode;
    IXMLDOMNode CurrentText = e.Site.parentNode;
    if (choix != "")
    {
    IXMLDOMNode SelectBisher = oDomgetHRGBisher.selectSingleNode("/dfs:myFields/dfs:dataFields/ns2:getHRGBisherResponse/ns2:getHRGBisherResult/ListBisher/Bisher[ddl='" + choix + "']");

    SelectBisher.removeChild(SelectBisher.selectSingleNode("ddl"));
    SelectBisher.text = "[Bisher: " + SelectBisher.text + "]";
    Old.insertBefore(SelectBisher, CurrentText);
    }


    Any Idea about how to make the same things but with an insertAfter?

    Thanks

    ++

    Thierry
    Infopath 2007, Langage: C#2.0 (Modèle Objet 2003)
    merci de lire ceci
Page 1 of 1 (1 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.