StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
Issues
»
Error with ChildFormDialog
Error with ChildFormDialog
Post Reply
Like
1
Error with ChildFormDialog
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Buffie
Buffie
posted 8 Years Ago
ANSWER
Topic Details
Share Topic
Group: StrataFrame Users
Posts: 119,
Visits: 11K
Using Win 10, VS2013 and latest version of SF1.7
Have not created a Parent - Child form situation in a long time. But, created a parent and child form this morning and added the same 2 Bo's to both of the forms. Added a ChildFormDialog control. Set it up with the Child Form name. Then I added one of the Bo's as a child just making sure I remembered how to do that. Put a button on the parent form to load the child form and all seemed to work. I did not have any fields on the child form. Wanted to make sure I could get there and back without any error.
Then I wanted to add the Parent BO to the childformdialog and the form to allow that to happen Flashes and immediately goes away and shows the Searching... window but nothing ever happens.
1. Reinstalled Strataframe. Went back and tried to added another BO to the ChildFormDialog and got the same error. So I created another parent form but this time I added both BO's to the CFD at one time and then I put some parent table fields on the Child form and All Worked good but I thought I would just see what happens if I tried to add another BO to the CFD. Get the same error???????
2. The forms I have seem to work but what is happening when I try to add another BO? I don't need to in this case but something certainly is not working. I don't have anything special. One SF maintenance forms and 4 fields from Parent table and 2 buttons. One to Exit and one to call child Form.
3. If someone needs more info please let me know.
TIA.
Reply
Like
1
StrataFrame Team
S
StrataFrame Team
posted 8 Years Ago
ANSWER
Post Details
Share Post
S
Group: StrataFrame Developers
Posts: 3K,
Visits: 2.5K
I will try to reproduce this one. I'm pretty sure the ITypeDiscoveryService object is used on that search form, and we had to change the way we acquire the object through the VSPackage. My guess is VS is snuffing an exception to keep itself from crashing.
Reply
Like
1
Buffie
Buffie
posted 8 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Users
Posts: 119,
Visits: 11K
I have been fiddling with this since my first post. I just found out what the issue was- IS.
On the child form I decided to try a Button Class I bought from Namtuk called MyCommandButtonNet.
I finally decided to delete it from my project and all is well. I am not sure what it was doing or not doing but has anyone else experienced such behavior? Does anyone else use their class?
I would like any followup you could give me.
TIA.
Reply
Like
1
Buffie
Buffie
posted 8 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Users
Posts: 119,
Visits: 11K
No that did not do it!
It did it and then I got out of project and came back in to the same issues but I have no commandbuttons that are not SF now.
Now I am trying to attach a binding field to a datetimepicker (SF) and I am getting the attached error?
Holly Molly I am not sure what is going on.
TIA.
Attachments
BindingField.PNG
(
216 views,
5.00 KB
)
Reply
Like
1
Edhy Rijo
E
Edhy Rijo
posted 8 Years Ago
ANSWER
Post Details
Share Post
E
Group: StrataFrame Users
Posts: 2.4K,
Visits: 23K
Hi Terry,
I've seen that index error before, do the following:
Clean up your Solution.
Close VS
Open VS and your project
Rebuild solution
Now try to do the binding and it should work.
Good luck!!!
Edhy Rijo
Reply
Like
1
Buffie
Buffie
posted 8 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Users
Posts: 119,
Visits: 11K
That did it. Thank you so much.
Now I have to decide whether it was the MyCommandButtonNet or not.
I guess a simple project would be best just as a test.
Thanks again.
Reply
Like
1
Edhy Rijo
E
Edhy Rijo
posted 8 Years Ago
ANSWER
Post Details
Share Post
E
Group: StrataFrame Users
Posts: 2.4K,
Visits: 23K
Hi Terry,
Glad it worked for you too.
For the future, this trick will work whenever things stop working on the VS IDE. Keep in mind that SF uses some extensible classes to provide us with the goodies for binding, looking for a BO, etc. and sometimes VS memory gets pretty crazy.
Edhy Rijo
Reply
Like
1
Buffie
Buffie
posted 8 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Users
Posts: 119,
Visits: 11K
I have had it happen before but all I did was close down and reload. This time that did not work. Thank you so much.
Reply
Like
1
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
1
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search