Search - InfoPath Dev Sign in | Join | Help InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads Search More Search Options Page 1 of 1 (4 items) Re: Selecting an item in listbox programmatically Thanks! Worked like a charm. I figured out what you were saying afterwards, but I wasn't sure on how to access the value of the value of listItemNav.Current. This settles it. Thank you very much for your effort and patience. I really appreciate it. Regards, Fรกbio P.S.: This forum doesn't have a "Mark as Answer" ... Posted to General (Forum) by francofs on 10-27-2009 Re: Selecting an item in listbox programmatically [quote user="Jimmy"] It sounds like my:rightListItem has the display values for the listbox and the actual values are in some other nearby field. Am I right? If so, you need to set selectedItemNav to the "value value" that corresponds to the display value that matches your search. [/quote] Sorry, ... Posted to General (Forum) by francofs on 10-26-2009 Re: Selecting an item in listbox programmatically Hi! Thank you very much for your quick response. It worked, but in a weird way. This is my code now: public void btnSearchProd_Clicked(object sender, ClickedEventArgs e) { // Retrieve value ... Posted to General (Forum) by francofs on 10-26-2009 Selecting an item in listbox programmatically Hi, I'm trying to select an item in a listBox programmatically. The idea is that I want to search and display and item, that is in a listbox. I couldn't find anywhere how to do it. Is it possible? This is my code: public void btnSearchProd_Clicked(object sender, ClickedEventArgs ... Posted to General (Forum) by francofs on 10-26-2009 Page 1 of 1 (4 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.