<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Progrmatically Select Item In Infopath Multiselect Box</title><link>https://www.infopathdev.com:443/forums/thread/86214.aspx</link><pubDate>Sat, 19 Jan 2013 18:35:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:86214</guid><dc:creator>phpnuke23</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/86214.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=86214</wfw:commentRss><description>Just to clarify, I am programtically populating an infopath form and On loading I need to programtically select items in a mslb. So if given the values 1,2,3 and those values are in a mslb with values 1,2,3,4,5,6 how to select 1,2,3</description></item><item><title>Progrmatically Select Item In Infopath Multiselect Box</title><link>https://www.infopathdev.com:443/forums/thread/86213.aspx</link><pubDate>Sat, 19 Jan 2013 17:56:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:86213</guid><dc:creator>phpnuke23</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/86213.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=86213</wfw:commentRss><description>&lt;p&gt;I am populating an infopath MultiSelect box at runtime, by setting its datasource to a group of fields. It is working great.&lt;/p&gt;&lt;p&gt;However, when attempting to select multi items, I am at a loss. I can&amp;#39;t find a IsSelected property and I can&amp;#39;t loop through all the controls in a strongly typed fashion and get the items. How does one achieve this?&lt;/p&gt;&lt;p&gt;I have the items I want to check in a CommaDelimitedStringCollection but can put in a collection of any type. I am indifferent to performance considerations. &lt;/p&gt;</description></item></channel></rss>