My problem is that the window opens up without the navigation buttons lit up. I can edit/add or delete, but not navigate. If I do click edit, then undo, I have navigation back. If I force the BO to navigate to the end of the collection (MoveLast) via code (FormLoad event), then the navigation buttons show up, but the FIRST record is showing on the screen...not the last...and the details in a list view reflect the LAST record...not the first. This is quite odd. If I then navigate away from the record, everything snaps back into shape and works as expected after that. The workaround is quite simple and acceptable for little 'ole me, but not so acceptable to those nutty QA guys. And, my boss just may mention something about it, too.
Is there a particlar property that I need to look at; or, perhaps I may have done something in my code to make this behavior occur? Any direction on this would be much appreciated!
Thanks,Bill
I am having the same problem, again. This has got me stumped. I will open the window and the first record is shown. No navigation is availble on the MaintenanceFormToolStrip. There are quite a few records. If I browse and select the first record of 100s, I'll get that record, but no navigation still. It is as if the toolstrip does not know about the primary BO.
The initialization priority does not seem to be the key here. I have tried playing with a few options to try to get this to work. Nothing has been successful. My last option will be to delete the toolstrip and start over.
One other oddity...the form opens in an idle editing state. Nothing is lit up to edit; however, if I choose to close the window the default popup shows up asking if I want to save changes? There have been no changes, nor has the editing state been altered...it is still idle. I am thinking that the primary business object is no longer primary, even though it is showing up that way.
Odd, huh?Bill
Just guessing. Have you got a DateTimePicker dropped on your form trying to deal with a NULL date?
Nope. No date fields on this form.
The issue reported here (http://forum.strataframe.net/Topic13178-10-1.aspx) pops up every time I make a change to this form, too. Quite annoying.
Oh, I did revert my changes on this form to last night (via VisualSVN...glad I added this all in to source code control yesterday). It works. Now, I am adding all my changes back in--one at a time--in order to see which one may have broken the form. Tedious, but I need to find an answer so that I do not duplicate my problem elsewhere.
Bill
...prevent the navigation from working. I don't see the connection.
this
That is why my navigation disappeared. And, also explains the confirmation popup when closing the window.
Whew! Glad that's over.Bill
(note: cross-posted on purpose--http://forum.strataframe.net/Topic13645-7-1.aspx)