public TabView GetActiveView()
        {
            TabView view = (TabView)MultiViewInternal.GetActiveView();

            if (view != null && _isInitialized)
            {
                view.EnsureLazyControls();
            }
            return(view);
        }
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);
            TabView view = (TabView)MultiViewInternal.GetActiveView();

            if (view != null)
            {
                view.EnsureLazyControls();
            }
        }
            protected override void AddedControl(Control control, int index)
            {
                TabView tabView = ArgumentUtility.CheckNotNullAndType <TabView> ("control", control);

                tabView.IsLazyLoadingEnabled = Parent.EnableLazyLoading;
                if (!Parent.EnableLazyLoading)
                {
                    tabView.EnsureLazyControls();
                }

                base.AddedControl(control, index);
            }