Child ListView


Author
Message
Ger Cannoll
Ger Cannoll
Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)
Group: StrataFrame Users
Posts: 430, Visits: 507
I have a Maintenence Form with two tabs, On the first tab I show the Parent Record and on the second tab I have  a List View , where I want to show the children. I want the children refreshed each tme the parent changes. I have both Parent and Child business Objects set up.

I have the method (on the ListView)  set as FillByparentPrimaryKey(System.Int32) and PopulateOnFormLoad set to manual.

I reckon I need to call the FillByParentPrimaryKey() somewhere to refresh the children and am wondering where is the best place to put this code. I could be refreshing ,either using the navigation buttons, Adding a new Parent,Deleting a parent or  doing a search etc.

Also, is just calling FillByParentPrimaryKey() sufficient or do I also need to call any Refresh() code

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