<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: help me!!</title><link>https://www.infopathdev.com:443/forums/thread/69754.aspx</link><pubDate>Sun, 28 Aug 2011 22:41:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69754</guid><dc:creator>Karsten Brocksieper</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69754.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=69754</wfw:commentRss><description>&lt;p&gt;Hello Hanna,&lt;/p&gt;&lt;p&gt;... and welcome to our forum.&lt;/p&gt;&lt;p&gt;You can´t hide a group/table with managed code. Unfortunately you will not be able to use the same object model as you did while working in Visual Studio Windows Applications.  An object has absolutely no formatting of display attributes, this is because XML is strictly data. To disable, hide, change color, or apply other formatting instructions to a control in your&amp;nbsp;form you will have to use conditional formatting.  To do this, double-click the control, click the Display tab, and then click the Conditional Formatting button.  From here you can add rules to change the way your control is viewed.  To be able to disable the node by code you will have to follow this process:&lt;/p&gt;&lt;p&gt;1. Create a text field and name it &amp;quot;field1Enabled&amp;quot;.&lt;br /&gt;2. Add conditional formatting on the field1 control that says to disable the control whenever the &amp;quot;field1Enabled&amp;quot; node is set to FALSE.&lt;br /&gt;3. In your code, set the &amp;quot;field1Enabled&amp;quot; node to true or false corresponding with whether or not you want to enable or disable the control.&amp;nbsp;&lt;/p&gt;&lt;p&gt;Hope that helps&lt;/p&gt;&lt;p&gt;Regards,&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&lt;/p&gt;</description></item><item><title>help me!!</title><link>https://www.infopathdev.com:443/forums/thread/69751.aspx</link><pubDate>Sun, 28 Aug 2011 09:12:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69751</guid><dc:creator>hanna</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69751.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=69751</wfw:commentRss><description>how i hide&amp;nbsp; &lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;Group&lt;/font&gt;&lt;/font&gt;/&amp;nbsp;table&amp;nbsp;&amp;nbsp; in infopath code c#&amp;nbsp;</description></item></channel></rss>