<?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>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: how to set the control's property to read-only by using managed-code?</title><link>https://www.infopathdev.com:443/forums/thread/23258.aspx</link><pubDate>Mon, 24 Sep 2007 23:27:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23258</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23258.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=23258</wfw:commentRss><description>&lt;p&gt;You don&amp;#39;t access the control. This is never allowed.&lt;/p&gt;
&lt;p&gt;Create a secondary data source with a boolean field. Your code sets the field. Conditional formatting sets the control to readonly based on that field.&lt;/p&gt;</description></item><item><title>how to set the control's property to read-only by using managed-code?</title><link>https://www.infopathdev.com:443/forums/thread/23229.aspx</link><pubDate>Sun, 23 Sep 2007 14:00:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:23229</guid><dc:creator>reezolau</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/23229.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=23229</wfw:commentRss><description>&lt;p&gt;I need to set it to read-only by using managed-code in VSTA.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know how to access the control .&lt;/p&gt;
&lt;p&gt;please help me! Thx first!&lt;/p&gt;</description></item></channel></rss>