Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / May 2006

Tip: Looking for answers? Try searching our database.

C# / Infopath drop down list

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
kalisin@yahoo.com - 26 May 2006 22:19 GMT
Does InfoPath store idems in a drop down list in an array?

Using C# Do I reference the Xth element of the drop down list as
ddlDropDown[X] ?

What full path do I need to specify to access this member?

Thanks in advance.

Kalimukwa
Scott Roberts [MSFT] - 27 May 2006 20:01 GMT
The answer to this sort of depends on how you've created the list.  Since
InfoPath's object model is completely data centric and there is no OM for
the view, if you have static items, you won't be able to access them from
code.  If you've bound the dropdown to data in the main or a secondary data
source, you can access the items by access those XML nodes through code
using the InfoPath object model in conjuction with System.Xml (for managed
code).

I hope this at least gives you a starting point.

- Scott

> Does InfoPath store idems in a drop down list in an array?
>
[quoted text clipped - 6 lines]
>
> Kalimukwa
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.