﻿<?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 » WinForms (How do I?)  » UltraGrid AllowAddNew reset by Business Object</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 03:10:43 GMT</lastBuildDate><ttl>20</ttl><item><title>UltraGrid AllowAddNew reset by Business Object</title><link>http://forum.strataframe.net/FindPost17068.aspx</link><description>I have an UltraGrid bound to a BBS. The grid has DisplayLayout.Override.AllowAddNew = AllowAddNew.FixedAddRowOnBottom. When the form is run, this property is reset to AllowAddNew.No when my BO.FillAll() method is called in the ParentFormLoading event. The only code in BO.FillALL() is a FillDataTable with a select statement.&lt;/P&gt;&lt;P&gt;After the FillAll(), I set the property back to FixedAddRowOnBottom only for it to be reset back to No when a new record is added.&lt;/P&gt;&lt;P&gt;Is there something in the SF code which is doing this?&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Aaron</description><pubDate>Tue, 17 Jun 2008 20:04:04 GMT</pubDate><dc:creator>Aaron Young</dc:creator></item><item><title>RE: UltraGrid AllowAddNew reset by Business Object</title><link>http://forum.strataframe.net/FindPost17131.aspx</link><description>Cool :cool:</description><pubDate>Tue, 17 Jun 2008 20:04:04 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: UltraGrid AllowAddNew reset by Business Object</title><link>http://forum.strataframe.net/FindPost17126.aspx</link><description>Don't worry about this one for now. I have a form which works and many which don't so I will try and trace the difference.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aaron</description><pubDate>Tue, 17 Jun 2008 14:05:57 GMT</pubDate><dc:creator>Aaron Young</dc:creator></item><item><title>RE: UltraGrid AllowAddNew reset by Business Object</title><link>http://forum.strataframe.net/FindPost17118.aspx</link><description>Well, we use the Infragistics grid quite a bit within our medical app and I have not experienced or heard of any of the other developers mention anything like this.&amp;nbsp; However, we are running on .NET 2007 Vol. 3, so possibly there is an issue between the two versions.&amp;nbsp; You are welcome to post a sample and we can take a look at&amp;nbsp;it.</description><pubDate>Tue, 17 Jun 2008 09:22:30 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: UltraGrid AllowAddNew reset by Business Object</title><link>http://forum.strataframe.net/FindPost17112.aspx</link><description>Hi Trent,&lt;/P&gt;&lt;P&gt;I have traced it and if I remove the FillDataTable call the grid property remains unchanged. If I add the FillDataTable call the property is changed by the time the call returns. Something is causing the property to reset and it is definately due to this call. I am using 2008 v2 so maybe there is a bug in the grid. However, I just tested this on the small application I sent you in another thread and it works. So something weird is going on here.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aaron</description><pubDate>Mon, 16 Jun 2008 18:19:10 GMT</pubDate><dc:creator>Aaron Young</dc:creator></item><item><title>RE: UltraGrid AllowAddNew reset by Business Object</title><link>http://forum.strataframe.net/FindPost17087.aspx</link><description>[quote]Is there something in the SF code which is doing this?[/quote]&lt;/P&gt;&lt;P&gt;Welcome to grid hell :)&amp;nbsp; I ove the Infragistics grid...once it is working, but up until that point I generally like to swear at it a bit :)&lt;/P&gt;&lt;P&gt;In this case the BBS should not be affecting this.&amp;nbsp; I am trying to think of what would even cause this to change.&amp;nbsp; There is some logic when implementing the IBindingList interface that determines how new records, etc. are dealt with and even supported.&amp;nbsp; But I cannot think of anything that would cause this to happen as this is a very common thing.&amp;nbsp; I know that we have done this ourselves and that a number of other SF developers would most than likely use this feature as well.&amp;nbsp; I never like to say "it 100% isn't the framework" as I generally get that stuffed up my nose...but it really should not be a factor. :)</description><pubDate>Mon, 16 Jun 2008 09:28:20 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>