StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



EventArgumentClassesExpand / Collapse
Author
Message
Posted 12/09/2006 12:54:00 PM


StrataFrame Novice

StrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame Novice

Group: Forum Members
Last Login: 06/19/2008 11:16:33 AM
Posts: 73, Visits: 12,471
It is becoming evident that there is no corruption on my server ... the pattern that I did notice is that I can handle every event that either has no parameters or uses the standard .NET event argument base classes ... but as soon as one of the events uses one of the EventArgumentClasses contained in the Microfour StrataFrame Business solution:

AfterDeleteEventArgs
BeforeAddNewEventArgs
BeforeDeleteEventArgs
BusinessRuleCheckedEventArgs
CheckFieldSecurityEventArgs
CheckRulesEventArgs
CheckSecurityEventArgs
EditingStateChangedEventArgs
ErrorSavingByFormEventArgs
ErrorSavingEventArgs
NavigatedEventArgs
NavigatingEventArgs
SecurityDeniedEventArgs
UnsavedChangesExistEventArgs

I get that error saying that the signatures are different and I cannot handle the event in the Codebehind page.

Do Not Work

Public Sub Prefix_ErrorSavingEventHandler(ByVal e As MicroFour.StrataFrame.Business.ErrorSavingEventArgs) Handles oPrefix.ErrorSaving

End Sub

Protected Sub Prefix_EditingStateChangedEventHandler(ByVal e As MicroFour.StrataFrame.Business.EditingStateChangedEventArgs) Handles oPrefix.EditingStateChanged

End Sub

Protected Sub Prefix_AfterDelete(ByVal e As MicroFour.StrataFrame.Business.AfterDeleteEventArgs) Handles oPrefix.AfterDelete

End Sub

Protected Sub Prefix_AfterSave(ByVal e As MicroFour.StrataFrame.Data.AfterSaveUndoEventArgs) Handles oPrefix.AfterSave

End Sub

Protected Sub Prefix_BusinessRulesChecked(ByVal e As MicroFour.StrataFrame.Business.BusinessRulesCheckedEventArgs) Handles oPrefix.BusinessRulesChecked

End Sub


Work Just Fine

Protected Sub Prefix_FilterChanged(ByVal e As EventArgs) Handles oPrefix.FilterChanged

End Sub

Protected Sub Prefix_Whatever(ByVal sender As Object, ByVal e As System.EventArgs) Handles oPrefix.Disposed

End Sub

Protected Sub Prefix_AfterAddNew(ByVal e As System.EventArgs) Handles oPrefix.AfterAddNew

End Sub

Protected Sub Prefix_SetDefaultValues() Handles oPrefix.SetDefaultValues

End Sub

Protected Sub Prefix_ParentFormLoading() Handles oPrefix.ParentFormLoading

End Sub

Protected Sub Prefix_CurrentDataTableRefilled() Handles oPrefix.CurrentDataTableRefilled

End Sub

Protected Sub Prefix_ServerDataChanged(ByVal e As System.Data.SqlClient.SqlNotificationEventArgs) Handles oPrefix.ServerDataChanged

End Sub

Hope this helps.

C. T. Blankenship
Post #5165
Posted 12/09/2006 3:17:05 PM


StrataFrame Novice

StrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame Novice

Group: Forum Members
Last Login: 06/19/2008 11:16:33 AM
Posts: 73, Visits: 12,471
I reinstalled everything (StrataFrame, .NET and SQL Server) on my desktop development machine (DELL Dimension 8400 running XP Professional, 3.19GHz, 1.0 GB of RAM) and get the exact same problem. So, the problem is neither platform (Server 2003 and XP Professional) nor machine (Dell XPS and Dimension 8400) dependant. There have been no custom development going on. The StrataFrame code was not recompiled this time. This is as pure of an installation as I can reproduce.

I provided 32 pages of step by step procedures to recreate the problem if possible not to mention the project and a database file. My company's development hangs in the balance.

Thanks in advance for the help.

C. T. Blankenship
Post #5169
Posted 12/09/2006 5:47:16 PM


StrataFrame Novice

StrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame Novice

Group: Forum Members
Last Login: 06/19/2008 11:16:33 AM
Posts: 73, Visits: 12,471
Ah Phuket (nice place to vacation ... http://www.phuket.com ... or so I hear).

I'm going back to the oPrefix.ErrorSavingMode = "FailOnError" and trap for the exception that is thrown vice fighting with trying to raise these events.

Please give it a real look though ... some of those events can come in quite handy in the future I'm sure.

Thanks,

C. T. Blankenship

PS: One positive thing came of this however, the 1.4.0.0 reference problem that I was having before is certainly gone!
Post #5170
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 4:27pm

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.047. 10 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.