<?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>Filter Drop down list in Browser Enabled Form</title><link>https://www.infopathdev.com:443/forums/thread/38604.aspx</link><pubDate>Thu, 19 Feb 2009 00:44:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:38604</guid><dc:creator>lanijade</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/38604.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=38604</wfw:commentRss><description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m trying to filter a drop down list in an infopath form based on the selection made in another drop down list. I am following this blog &lt;a href="http://www.sharepoint-tips.com/2007/01/infopath-form-services-implementing.html"&gt;http://www.sharepoint-tips.com/2007/01/infopath-form-services-implementing.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I have followed the steps in the blog exactly (using the state and cities example) and it all worked fine for me. I then went to apply it to my own example in which when the user selects an &amp;#39;organisation&amp;#39; from a drop down list I want the &amp;#39;primary contact&amp;#39; drop down list to be filtered.&lt;/p&gt;
&lt;p&gt;I have ran into a problem in which the list that is populating the &amp;#39;primary contact&amp;#39; drop down has a space in the name.... the list is title &amp;#39;Client Contacts&amp;#39;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Therefore I&amp;#39;m having trouble adding this into the C# code. Does anyone know how to record the name of a SharePoint list with a space in it using C#? I have tried &amp;#39;Client%20Contacts&amp;#39; but I get an error with this. I have tried &amp;#39;Client_Contacts&amp;#39; but it doesn&amp;#39;t work. I have also tried &amp;#39;Client Contacts&amp;#39; which brings back an error. Finally I tried &amp;#39;ClientContacts&amp;#39; which doesn&amp;#39;t work either.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Appreciate your help.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;</description></item></channel></rss>