<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: link infopath dropdownbox with windows treecontrol</title><link>https://www.infopathdev.com:443/forums/thread/11144.aspx</link><pubDate>Mon, 26 Feb 2007 17:06:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11144</guid><dc:creator>Shiraz Cupala</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11144.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=11144</wfw:commentRss><description>In this situation you will have to write code as part of your tree selector to first check if the value is allowed in the dropdown, and if not then display the message instead.  A few questions:&lt;br /&gt;1) where did you want to display that message? dialog would be easiest and then just ignore the selection.&lt;br /&gt;2) where do you get the values that are listed in the dropdown?  ideally you're getting them from an xml lookup file so that it's easy for your code to lookup valid values.</description></item><item><title>Re: link infopath dropdownbox with windows treecontrol</title><link>https://www.infopathdev.com:443/forums/thread/11143.aspx</link><pubDate>Thu, 15 Feb 2007 21:29:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11143</guid><dc:creator>erinselena</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11143.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=11143</wfw:commentRss><description>OK so more information. &lt;br /&gt;I have realized that you can easily do this by setting the text of the XML node of the main data source to whatever text you want however, i want to be able to only select whatever values are available in the drop down box itself. So for instance, if i select 5 from the tree control and the value 5 does not exist in the drop down box i don't want it to show up in the DDbox, in that case i want to display a message or something along those lines alerting the user that this value cannot be selected.</description></item><item><title>link infopath dropdownbox with windows treecontrol</title><link>https://www.infopathdev.com:443/forums/thread/6071.aspx</link><pubDate>Thu, 15 Feb 2007 21:04:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6071</guid><dc:creator>erinselena</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6071.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6071</wfw:commentRss><description>Hello All,&lt;br /&gt;I am using infopath 2007 and am hosting the infopath form using the form control in a windows application in visual studio 2005. In my windows project i have a tree view control, what i would like to do is after the treeview node is selected i want to match the text on the selected node to the text in a drop down box that is on my infopath form, the dropdown box is populated from the same database as the tree control and when the form loads i can see the items in the dropdown box, i just don't understand how to change the selected value of the dropdown box from inside my windows app. &lt;br /&gt;&lt;br /&gt;Here is a visual example.&lt;br /&gt;&lt;br /&gt;TreeControl                 Drop Down Box on infopath form&lt;br /&gt;&lt;br /&gt;1                                1&lt;br /&gt;2                                2&lt;br /&gt;3                                3&lt;br /&gt;4                                4&lt;br /&gt;5                                5&lt;br /&gt;&lt;br /&gt;lets say the user selected node with text # 3 on the tree control, i want the selected item of the dropdown box to change to 3 to reflect the selection on the treecontrol..&lt;br /&gt;&lt;br /&gt;anyone know how to do this?&lt;br /&gt;Erin</description></item></channel></rss>