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; }
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(); } }