﻿<?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?)  » DataGridView Maintenance Form and Standard Form...</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Sun, 20 Sep 2026 04:15:41 GMT</lastBuildDate><ttl>20</ttl><item><title>DataGridView Maintenance Form and Standard Form...</title><link>http://forum.strataframe.net/FindPost9799.aspx</link><description>When trying to setup a DataGridView on a StrataFrame Form, I've found that simply adding the Business Object, a Business Binding Source pointing to that BO, and a GridView onto a Maintenance Form, the Business Object navigation doesn't update the selected row on the gridview.&amp;nbsp; However if I add the above components to a Strataframe Standard form, along with a MaintenanceFormToolStrip, using the toolstrip to navigate, the BusinessObject's current row is reflected in the gridview.&lt;/P&gt;&lt;P&gt;Is there some setting on the MaintenanceForm I'm not seeing or is this the intended behaviour?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Robin Giltner</description><pubDate>Tue, 26 Jun 2007 17:15:29 GMT</pubDate><dc:creator>Robin J Giltner</dc:creator></item><item><title>RE: DataGridView Maintenance Form and Standard Form...</title><link>http://forum.strataframe.net/FindPost9808.aspx</link><description>Yeah, it appears that the ParentForm property of the MFTS is not being set properly in the template.&amp;nbsp; There's a great deal of "hooking up" that takes place when the ParentForm property is set.&amp;nbsp; Once the MFTS has a reference to it's parent, it hooks into the events of the parent and so forth.&amp;nbsp; For some reason those events are not being attached in a form created by the template.&lt;/P&gt;&lt;P&gt;As Ben mentioned above, though, there is a workaround :)</description><pubDate>Tue, 26 Jun 2007 17:15:29 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: DataGridView Maintenance Form and Standard Form...</title><link>http://forum.strataframe.net/FindPost9807.aspx</link><description>Great.&amp;nbsp; Thanks Ben.&lt;/P&gt;&lt;P&gt;Robin Giltner</description><pubDate>Tue, 26 Jun 2007 13:48:03 GMT</pubDate><dc:creator>Robin J Giltner</dc:creator></item><item><title>RE: DataGridView Maintenance Form and Standard Form...</title><link>http://forum.strataframe.net/FindPost9805.aspx</link><description>[quote][b]Robin J Giltner (06/26/2007)[/b][hr]Well IncludeinFormNavigate is set to PrimaryBusinessObject. In fact all of the Includes are set to PrimarybusinessObject save for the Save, which is set to AllBusinessObjects.&lt;br&gt;
&lt;br&gt;
I started messing around some, and it seems like when I removed the MaintenanceFormToolStrip from its container, and just placed it on the form, it started working.&lt;br&gt;
&lt;br&gt;
Thanks&lt;br&gt;
&lt;br&gt;
Robin Giltner[/quote]&lt;br&gt;
&lt;br&gt;
Robin; this is something I had recently discovered and reported it [I'm not sure if it was recorded]. The problem I ran into, was using the SF Maintenance form and BBS. Somehow, the BBS does not work with toolstrip. However, if you create a new STD SF form, place a header and toolstrip on it manually, then you'll see everything works.&lt;br&gt;
&lt;br&gt;
Hope this helps!</description><pubDate>Tue, 26 Jun 2007 13:00:47 GMT</pubDate><dc:creator>Ben Hayat</dc:creator></item><item><title>RE: DataGridView Maintenance Form and Standard Form...</title><link>http://forum.strataframe.net/FindPost9804.aspx</link><description>Well IncludeinFormNavigate is set to PrimaryBusinessObject.&amp;nbsp; In fact all of the Includes are set to PrimarybusinessObject save for the Save, which is set to AllBusinessObjects.&lt;/P&gt;&lt;P&gt;I started messing around some, and it seems like when I removed the MaintenanceFormToolStrip from its container, and just placed it on the form, it started working.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Robin Giltner</description><pubDate>Tue, 26 Jun 2007 12:53:59 GMT</pubDate><dc:creator>Robin J Giltner</dc:creator></item><item><title>RE: DataGridView Maintenance Form and Standard Form...</title><link>http://forum.strataframe.net/FindPost9801.aspx</link><description>[quote]Is there some setting on the MaintenanceForm I'm not seeing or is this the intended behaviour?[/quote]&lt;/P&gt;&lt;P&gt;Check the forms IncludeIn... properties as well as the BOs IncludeIn properties.&amp;nbsp; More than likely there is something set different between the two.&amp;nbsp; A MaintenanceForm is nothing more than a StandardForm with a MaintenanceFormToolstrip already dropped on it.</description><pubDate>Tue, 26 Jun 2007 10:36:26 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>