ss7thirty
Well-known member
I have a configuration based application that dynamically creates controls based on XML configuration file. This is a scanning application and the only bump that I am hitting for this project is the fact that for each different configuration I need to execute different code in 4 different events.
I need to execute different code for each configuration in the Batch Start, Batch End, Page Start, and Page End events of the scan object.
I was thinking of using the addhandler command and point it to the proper function based on the configuration, but I cannot figure out how to do this. Can anyone point me in the right direction as to which objects I have to use to dynamically call the methods for these events based on the configuration without hard coding a giant select statement.
I need to execute different code for each configuration in the Batch Start, Batch End, Page Start, and Page End events of the scan object.
I was thinking of using the addhandler command and point it to the proper function based on the configuration, but I cannot figure out how to do this. Can anyone point me in the right direction as to which objects I have to use to dynamically call the methods for these events based on the configuration without hard coding a giant select statement.