<?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: Disable Infopath field /control programmatically</title><link>https://www.infopathdev.com:443/forums/thread/6723.aspx</link><pubDate>Thu, 21 Apr 2005 06:35:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6723</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6723.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6723</wfw:commentRss><description>We cannot disable/enable controls programatically. Because you donot have any reference to the Infopath UI controls in the code.&lt;br /&gt;&lt;br /&gt;But there is a way that you can achieve this,&lt;br /&gt;We should make the conditional formatting on a control in the Infopath design based on a secondary xml(dataconnection) node value. And set that secondary xml node value in the code.&lt;br /&gt;Hope this helps.&lt;br /&gt;&lt;br /&gt;Agni&lt;br /&gt;InfopathDev India</description></item><item><title>Disable Infopath field /control programmatically</title><link>https://www.infopathdev.com:443/forums/thread/4629.aspx</link><pubDate>Thu, 21 Apr 2005 04:18:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4629</guid><dc:creator>deepak</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4629.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=4629</wfw:commentRss><description>I working on a workflow in infopath form. I am using SP1 with infopath. Coding in being done in C#. I want to disable / enable some of the controls programmatically in .NET. How to achieve this?&lt;br /&gt;&lt;br /&gt;Deepak</description></item></channel></rss>