Currently I have two functions which do this :-
protected override void OnInitialized(EventArgs a) { base.OnInitialized(a);