inert data into dropdown from code behind page load - InfoPath Dev
in

InfoPath Dev

inert data into dropdown from code behind page load

Last post 08-27-2012 10:45 PM by daniweb. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 08-27-2012 03:02 AM

    inert data into dropdown from code behind page load

    Hi,

    I want to insert data into a browser compatible form from code behind. Which function in the code behind should trigger this:

    1. I want  the data to be filled at start.

    2. When I triggered InternalStartup - I couldn't load the form to the server due to errors in the Internal function.

     

    TIA.

    Dani.

  • 08-27-2012 03:52 PM In reply to

    Re: inert data into dropdown from code behind page load

    You'll need to add a loading event - and use a secondary data source for the drop down options (just an XML file in the form). Then the loading event can add items to the data source, and the control can use that data source for its options.

    If you prefer not to write custom code, qRules can help you with this.

    Hilary Stoupa

  • 08-27-2012 10:45 PM In reply to

    Re: inert data into dropdown from code behind page load

     10x it helped me! I used the Form event load:

    public void FormEvents_Loading(object sender, LoadingEventArgs e)

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