<?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>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Multiselect List box doesn't clear old values when data refreshed</title><link>https://www.infopathdev.com:443/forums/thread/99679.aspx</link><pubDate>Mon, 20 Oct 2014 02:00:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:99679</guid><dc:creator>jacqui1811</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/99679.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=99679</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;&lt;p&gt;After trying many things I found that setting the group&amp;#39;s inner xml to be an empty instance of the repeating field, as below, then executing the data connection that populates the dropdown worked .&lt;/p&gt;&lt;p&gt;&amp;nbsp;MainDataSource.CreateNavigator().SelectSingleNode(&amp;quot;/my:myFields/my:GroupName&amp;quot;, NamespaceManager).InnerXml = &amp;quot;&amp;lt;my:RepeatingField&amp;gt;&amp;lt;/my:RepeatingField&amp;gt;&amp;quot;;&lt;/p&gt;&lt;p&gt;If I just set it to &amp;quot;&amp;quot; then the xml was invalid when repopulating the drop down.&lt;/p&gt;&lt;p&gt;Hope this helps somebody else and saves them a couple of hours work.&lt;/p&gt;&lt;p&gt;Jacqui. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Multiselect List box doesn't clear old values when data refreshed</title><link>https://www.infopathdev.com:443/forums/thread/99642.aspx</link><pubDate>Fri, 17 Oct 2014 06:49:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:99642</guid><dc:creator>jacqui1811</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/99642.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=99642</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;&lt;p&gt;I have a Multiple-Selection List box that is populated by a datasource calling a web service to get the data.&lt;/p&gt;&lt;p&gt;I have a function that changes that datasource and after I call it I call the datasource execute function again.&lt;/p&gt;&lt;p&gt;This works on adding the items, the new item is added to the list box and available for selection once the datasource is called/refreshed again.&lt;/p&gt;&lt;p&gt;However if I remove an item and then refresh the datasource it seems to keep the item in but showing it checked and as the value (id) not the text that is the display text.&lt;/p&gt;&lt;p&gt;If I uncheck it, it removes it from the list box.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Am I missing a step here ? I would be grateful for your advise.&lt;/p&gt;&lt;p&gt;Many thanks.&lt;/p&gt;&lt;p&gt;Jacqui &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>