DataGridView Maintenance Form and Standard Form...


Author
Message
Robin J Giltner
Robin J Giltner
StrataFrame User (179 reputation)StrataFrame User (179 reputation)StrataFrame User (179 reputation)StrataFrame User (179 reputation)StrataFrame User (179 reputation)StrataFrame User (179 reputation)StrataFrame User (179 reputation)StrataFrame User (179 reputation)StrataFrame User (179 reputation)
Group: Forum Members
Posts: 105, Visits: 650
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.  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.

Is there some setting on the MaintenanceForm I'm not seeing or is this the intended behaviour?

Thanks,

Robin Giltner

Reply
StrataFrame Team
S
StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
Yeah, it appears that the ParentForm property of the MFTS is not being set properly in the template.  There's a great deal of "hooking up" that takes place when the ParentForm property is set.  Once the MFTS has a reference to it's parent, it hooks into the events of the parent and so forth.  For some reason those events are not being attached in a form created by the template.

As Ben mentioned above, though, there is a workaround Smile

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search