StrataFrame Forum

ParentBusinessObject gone in web form

http://forum.strataframe.net/Topic17931.aspx

By Chan - 7/20/2008

Hi,

I have defined BOs and BO.ParentBusinessObject in ApplicationBasePage's constructor. This code is run in every postback.

However, in a button.click event, my BO.ParentBusinessObject become null. Any ideas? Do I need to reassign it in every event that need to use it?



Please advice.



Thank you
By Trent L. Taylor - 7/21/2008

Any ideas? Do I need to reassign it in every event that need to use it?

Hmmm...I will definitely check into this, but you may want to just take this into account within the Load of the BasePage itself.