If the AutoEventWireup
attribute of the @ Page
directive is set to true
the ASP.NET framework automatically calls page event-handler methods without the need to use the Handles
keyword or an explicit event delegate. That is why setting, this attribute to true
has fixed your problem.
The behavior you observe that init/load events are fired twice when adding/removing docks in the My Portal demo is normal as to create/remove the new docks without postback, the new docks are created into a hidden UpdatePanel and then transferred to a dock zone with client-side script executing second callback (which eliminates the need to update the whole dock zone and all of its children). The deleted docks are also firstly moved to the hidden update panel with a callback and after that deleted from the update panel.
If you have other questions, do contact us again.
the Telerik team