How to set selected value in Dropdown programatically. - InfoPath Dev
in

InfoPath Dev

How to set selected value in Dropdown programatically.

Last post 06-07-2011 10:52 PM by Bhavin Sankhat. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 06-07-2011 10:52 PM

    How to set selected value in Dropdown programatically.

    Hello All,

     

    I  have dropdown list called SiteName in infopath form that fill through secondary datasource (Web services). There is six site name bind to this dropdown.

    While opening the form on the form loading event I am checking programatically whether the logged in user has already site has been selected if yes then I get this site from database. Now The issue is:

    1) I want to set the selected site to dropdown. If i used setvalue() it create new value in dropdown. I want to set value from existing dropdown source. How do i do that? can any one please help me.

    Bhavin A Sankhat
    Filed under:
Page 1 of 1 (1 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.