﻿<?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 - V1 » Business Objects and Data Access (How do I?)  » Readonly BO</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 11:51:34 GMT</lastBuildDate><ttl>20</ttl><item><title>Readonly BO</title><link>http://forum.strataframe.net/FindPost14829.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&amp;nbsp; 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 19:36:19 GMT</pubDate><dc:creator>Alex Bibiano González</dc:creator></item><item><title>RE: Readonly BO</title><link>http://forum.strataframe.net/FindPost14834.aspx</link><description>Peters post is good information.&amp;nbsp; 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.&amp;nbsp; So what ever controls to which you are binding can just be set to read-only to prevent user interaction.&amp;nbsp; 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/FindPost14831.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></channel></rss>