Open up the ApplicationBasePage and add your business object definitions here:
#Region " Business Object Declarations "
'-- Business Objects defined within this class will be available to ' inherited pages as binding sources to bindable controls. These ' business objects will also be persisted within session variables ' and retrieved each time the page loads. If the business object ' is declared WithEvents, events can be handled without the need ' for AddHandler calls. Public WithEvents MyBusinessObject As YourBusinessObjectType #End Region
Notice that you do not call the New statement as these BOs will be dynamically created and stored in the session. You can see more about this in the help documentation under: Application -> WebForms -> ApplicationBasePage Classes -> Overview
For some reason i am not getting the BusinessComponents in the VS2005 Toolbox though it should be there. Please see the attached snapshot to elaborate my issue.
Vikram