StrataFrame Forum

Navigated event not firing on translated BO

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

By Greg McGuffey - 1/5/2009

I have a form that has a translated BO on it (i.e. this is the child form). The BO is getting translated correctly, the controls that are bound to the BO are loaded correctly. However, the navigated event on that BO is never fired. Is there some additional step I need to take to have event handling on a translated BO?
By Trent L. Taylor - 1/5/2009

No.  It should fire.  But the timing of the event could be your issue.  Remember the whole OnLoad converstaion that we had on another thread.  Well, if the BO had not yet been translated at the time of the Load (when you may be expecting it) then it would not come through on the translated BO.  If you placed the navigation logic after the MyBase.OnLoad() then it should work fine.  Hope that makes sense...busy morning Crazy