Problem:
The RaisePostBackEvent receives every event from an ASPX page.
In contrast to other events like Button1_clicked, the RaisePostBackEvent routine isn't automatically generated from the COBOL wizard.
How can the RaisePostBackEvent routine be implemented in COBOL.
Resolution:
Add the following code to the generated class:
method-id. "RaisePostBackEvent" protected override.
procedure division using by value a-source as System-PostBack
eventArgument as string.
invoke super "RaisePostBackEvent" using value a-source eventArgument
end method "RaisePostBackEvent".
Add also the following declaration to the repository paragraph:
class System-PostBack as "System.Web.UI.IPostBackEventHandler"