<?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>InfoPath 2010</title><link>https://www.infopathdev.com:443/forums/142.aspx</link><description>Are you exploring new features coming up in 2010? Share information and ask questions here!</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: cascading dropdowns</title><link>https://www.infopathdev.com:443/forums/thread/78181.aspx</link><pubDate>Tue, 01 May 2012 15:15:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78181</guid><dc:creator>sjain</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78181.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=78181</wfw:commentRss><description>&lt;p&gt;Thanks for the reply. This is my situation.&lt;/p&gt;&lt;p&gt;&amp;nbsp;This was originally an IP 2007 web enabled form with cascading dropdowns which meant code behind and admin approved.&lt;/p&gt;&lt;p&gt;I have 2 data connections. &lt;/p&gt;&lt;p&gt;The first one, (called client) is the main which is configured to automatically retrieve data when the form is opened. This connection is configured to receive data from a sharepoint list (called client)&lt;/p&gt;&lt;p&gt;The second one (called matters) is dependent on the client data connection.&amp;nbsp;It is also configured to receive data from sharepoint lists. &lt;/p&gt;&lt;p&gt;On my form,&amp;nbsp;I have 2 dropdowns. First, called Client gets populated by the client data connection. On this dropdown,&amp;nbsp;I have a rule that will query the matter data connection when client is not blank.&lt;/p&gt;&lt;p&gt;I have 1 rule on the matter dropdown which is to populate a read only textbox when something is selected in this dropdown.&lt;/p&gt;&lt;p&gt;The code behind filters the matter dropdown based on the value selected in the client dropdown.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Everything works fine when i create a new form. The problem comes when I re-open this form for editing. The client dropdown is populated and has the correct value selected. However, the matters dropdown, although filtered based on the client selected, does not have the value selected (is blank), and hence the read-only texbox is blank as well. I can see the value of the matters dropdown in the XML though. &lt;/p&gt;&lt;p&gt;&amp;nbsp;Is there a solution to my problem or should I redesign the form and get away with code behind completely?&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thanks for your quick response.&lt;/p&gt;</description></item><item><title>Re: cascading dropdowns</title><link>https://www.infopathdev.com:443/forums/thread/78130.aspx</link><pubDate>Mon, 30 Apr 2012 14:18:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78130</guid><dc:creator>Jo-Anne Alfafara</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78130.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=78130</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;Did you check&amp;nbsp;if you have any rule running&amp;nbsp;on Form Load that sets the value of the second dropdown to blank? I&amp;#39;m also wondering why your using code when you can make cascading dropdowns using rules and filters&amp;nbsp;in InfoPath itself. &lt;/p&gt;&lt;p&gt;Jo-Anne&lt;/p&gt;</description></item><item><title>cascading dropdowns</title><link>https://www.infopathdev.com:443/forums/thread/78128.aspx</link><pubDate>Mon, 30 Apr 2012 13:45:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78128</guid><dc:creator>sjain</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78128.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=78128</wfw:commentRss><description>&lt;p&gt;Hello:&lt;/p&gt;&lt;p&gt;&amp;nbsp;I have an IP 2010 form with 2 dropdowns. The first is populated using a data connection (client). The second dropdown is a cascading dropdown populated using a second data connection (matter) based on the client value selected in the first dropdown. There is code behind (using C#) to filter the second dropdown. Everything works fine when I create the form. However, when I go back to reopen the form to edit, the second dropdown is blank.&lt;/p&gt;&lt;p&gt;In the selectClient_Changed event, I am calling the data connection to populate the matter dropdown. The value is obviously there in the XML, but, does not show up in the matter dropdown.&lt;/p&gt;&lt;p&gt;The form is browser enabled.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;How do I fix this issue? Your help is greatly appreciated.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;Thanks&lt;/p&gt;</description></item></channel></rss>