OnLoad is beeing called when callin base.Onload(e) in Onload method
Posted
by Bilel Boughanmi
on Stack Overflow
See other posts from Stack Overflow
or by Bilel Boughanmi
Published on 2010-05-24T17:17:59Z
Indexed on
2010/05/24
17:21 UTC
Read the original article
Hit count: 419
I have a view (userControl) and I am overriding it's OnLoad and OnLayout methods . When view is closed the OnLayout method is executed and the call to base.OnLayout(e) fire the OnLoad method.
What is causing the OnLoad to be called and how can I avoid this behavior? Regards.
© Stack Overflow or respective owner