ChildForm Dialog Issue


Author
Message
Tim Dol
Tim Dol
Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)
Group: Forum Members
Posts: 340, Visits: 1.4K
I have a child form that contains a grid, with BBS, and two business objects. I placed a childformdialog control on my parent form and entered my business object translation items.  I checked the datatables on my child form business objects and everything is fine, however my grid will not display the data. (My textbox's are fine). The only way I can get it to display the records on the grid is to actually fill the business object within the child form itself.

Any ideas on how I can solve this issue without filling the business object on the child form?

Thanks

Tim

Reply
Tim Dol
Tim Dol
Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)Advanced StrataFrame User (666 reputation)
Group: Forum Members
Posts: 340, Visits: 1.4K
Hi Trent,

I see the data is populated by time it hits the Load event but not in the constructor.  I have tried a number of ways to 'refresh' the data, however I still can't get the data to appear.

1) I've tried setting the grid's datasource at run-time, as suggested. No Luck.

2) I tried Ben's suggestion of creating a new class, inherit from business binding source, add a method 'ResetDataSource' to call

Me.OnListChanged(New ListChangedEventArgs(ListChangedType.Reset, -1))

I emailed you a sample project I put together simulating what I'm trying to accomplish. I would appeciate if you could take a quick look to make sure I'm not missing something.

Thanks

Tim

 


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