Occurs only when doing a self-navigation. It occurs after the server-side objects have been created and the page variables have been filled, but before the controls have been bound to the input data.
psPage object
None
None
This event allows advanced users to manipulate the object model in advance of data binding. Changing the values of the server-side objects can trigger the ItemChanged event for controls on the page.
Error processing Because this event is triggered before generation occurs, you cannot use psDocument.Write to report errors. Instead, use the ReportError method on the psPage object to trigger the ServerError event. The error will then be added to the error log, depending on the ServerError return value.
This script displays a client-side alert box message if the Redirect method is not called for another psPage event:
psPage.Alert (MyVar + " in BeforeBinding event", true);