Ejemplo n.º 1
0
        public void SetActiveView(TabView view)
        {
            ArgumentUtility.CheckNotNull("view", view);
            MultiViewInternal.SetActiveView(view);
            TabView activeView    = GetActiveView();
            WebTab  nextActiveTab = _tabStrip.Tabs.Find(activeView.ID + c_itemIDSuffix);

            nextActiveTab.IsSelected = true;
        }
Ejemplo n.º 2
0
        public TabView GetActiveView()
        {
            TabView view = (TabView)MultiViewInternal.GetActiveView();

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

            if (view != null)
            {
                view.EnsureLazyControls();
            }
        }