EventArgumentClasses


Author
Message
Charles Thomas Blankenship...
Charles Thomas Blankenship
StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)
Group: Awaiting Activation
Posts: 172, Visits: 12K
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

Charles T. Blankenship
Senior Consultant
Novant Consulting, Inc.
704.975.7152
http://www.novantconsulting.com
Charles Thomas Blankenship...
Charles Thomas Blankenship
StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)
Group: Awaiting Activation
Posts: 172, Visits: 12K
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

Charles T. Blankenship
Senior Consultant
Novant Consulting, Inc.
704.975.7152
http://www.novantconsulting.com
Charles Thomas Blankenship...
Charles Thomas Blankenship
StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)StrataFrame User (448 reputation)
Group: Awaiting Activation
Posts: 172, Visits: 12K
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!Smile

Charles T. Blankenship
Senior Consultant
Novant Consulting, Inc.
704.975.7152
http://www.novantconsulting.com
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