Reference to the form in custom control - InfoPath Dev
in

InfoPath Dev

Reference to the form in custom control

Last post 11-07-2005 03:37 AM by gauravbhardwaj. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 10-28-2005 12:28 AM

    Reference to the form in custom control

    Hi,

    I have created a custom contol. Is there any way so that my custom control can parse the form to get the list of controls available on the form.

    Regards,
    Gaurav
  • 10-28-2005 10:53 PM In reply to

    Re: Reference to the form in custom control

    The custom control can exchange data with the form, but it cannot parse the XSL. What are you trying to do?

    Patrick Halstead [InfoPath MVP]
    InfoPathDev
    Patrick Halstead
    Project Manager at Qdabra
  • 11-07-2005 03:37 AM In reply to

    Re: Reference to the form in custom control

    Hi,

    Thanks Patrick for giving your valuable input. I am really sorry that I was out of office for a week so could not keep the follow up.

    Actually, I am trying to bind the controls of Infopath form to a custom data source. To do this, I have created a custom control which has a drop down control and a text field. Now, I want to populate the drop down with the names of the controls on the form. The user will select a control name in the drop down and will manually enter the data source. Then I will try to update the controls on the form with the value depending on the data source defined using the code in custom control.

    Can the code in the custom control access the info path control in same way like - thisXDocument.DOM.selectNodes(“”);

    Thanks and regards,
    Gaurav
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.