﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum / StrataFrame Application Framework / Business Objects and Data Access (How do I?)  / Readonly BO / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>forum@strataframe.net</webMaster><lastBuildDate>Mon, 08 Sep 2008 00:49:36 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Readonly BO</title><link>http://forum.strataframe.net/Topic14829-6-1.aspx</link><description>Peters post is good information.  The BO has logic to add security to prevent adds, edits, and deletes based on permissions...however, in this case you are just wanting to use the BO to display information.  So what ever controls to which you are binding can just be set to read-only to prevent user interaction.  If you REALLY want to, you can change the properties to ReadOnly, but this would be overkill since you are in control of the UI.</description><pubDate>Wed, 12 Mar 2008 19:36:19 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Readonly BO</title><link>http://forum.strataframe.net/Topic14829-6-1.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;We generally acomplish that in (DevEx) grids by setting them to "not editable". Also, each BO has a BeforeSave event with e.Cancel property which you can use to discard the save - this may be better then you can turn ReadOnly on / off programatically.&lt;/P&gt;&lt;P&gt;Cheers, Peter</description><pubDate>Wed, 12 Mar 2008 16:31:44 GMT</pubDate><dc:creator>Peter Jones</dc:creator></item><item><title>Readonly BO</title><link>http://forum.strataframe.net/Topic14829-6-1.aspx</link><description>Is there a property or some way to make a BO readonly.&lt;/P&gt;&lt;P&gt;I have a CategoryBO and a CategoryListBO. The CategoryListBO has only a subset of the fields from the CategoryBO, and I use it to populate some TreeLists and other controls (I don't  use it to update the DB).&lt;/P&gt;&lt;P&gt;Now I want configure the BO to be readonly. Is it possible?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Alex B.</description><pubDate>Wed, 12 Mar 2008 16:00:49 GMT</pubDate><dc:creator>Alex Bibiano González</dc:creator></item></channel></rss>