<?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>Views</title><link>https://www.infopathdev.com:443/forums/42.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Programmatically setting a view to Read Only</title><link>https://www.infopathdev.com:443/forums/thread/28248.aspx</link><pubDate>Thu, 24 Apr 2008 21:03:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:28248</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/28248.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=28248</wfw:commentRss><description>&lt;p&gt;Hey Dave.&lt;/p&gt;
&lt;p&gt;My question is why? If you want the option of having a view read only.&lt;/p&gt;
&lt;p&gt;Create and finalize your view.&lt;/p&gt;
&lt;p&gt;Create a second view&lt;/p&gt;
&lt;p&gt;Copy and paste the controls to&amp;nbsp;the second view&lt;/p&gt;
&lt;p&gt;In View properties make the view read only.&lt;/p&gt;
&lt;p&gt;Then just use a switch views action or in code if you need read-only.&lt;/p&gt;
&lt;p&gt;I do not think it is a dynamic process so I do not think you could actually switch it on the fly. It is just a shortcut in the designed to set all of the fields readonly. But I am not sure. You could set all of the controls readonly individually.&lt;/p&gt;</description></item><item><title>Programmatically setting a view to Read Only</title><link>https://www.infopathdev.com:443/forums/thread/28244.aspx</link><pubDate>Thu, 24 Apr 2008 20:51:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:28244</guid><dc:creator>davidma</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/28244.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=42&amp;PostID=28244</wfw:commentRss><description>&lt;p&gt;Hi all, I can see how to do this using the Infopath 2007 UI, but how do I do this programmatically&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Dave&lt;/p&gt;</description></item></channel></rss>