User714796689 posted
Thanks Kevin for your response and the link. Unfortunately, I can't use the suggested solution as I have little control over the middle-tier object. In fact, that's why I need to access it. It requires some kind of initialization i.e., after creating it
I need to call an Initialize method with certain parameters. Then, through the page lifetime, I need to access some properties of this instance.
It seems I have found a suitable candidate for a solution: the ObjectDataSource.OnObjectCreating event handler. An idea is to manually create an instance of my middle-tier component, call the Initialize method, and then assign it to a page scope field
for other methods to access. Do you think this is a good idea?
Thanks,
Leszek