none
axWebBrowser DocumentComplete With ComboBox RRS feed

  • Question

  • if select 2=index 3

    The third ComboBox….. The third ComboBox d`not work if  work second ComboBox

    pleas help

            private void axWebBrowser1_DocumentComplete(object sender, AxSHDocVw.DWebBrowserEvents2_DocumentCompleteEvent e)
            {
                mshtml.HTMLDocument _doc = this.axWebBrowser1.Document as mshtml.HTMLDocument;
                mshtml.IHTMLElement name1 = _doc.getElementById("ctl00_PlaceHolderMain_ddlProceedingRPTLevel");
                if (name1 != null) 
                {
                    name1.setAttribute("selectedIndex", 2);
                    name1.setAttribute("selected", "selected");
                }
            }

    but 3 dropbox d'not work

    DocumentComplete d`not work with the dropbox


    Wednesday, November 13, 2019 1:34 PM

Answers

All replies