Provides information about a command raised from a TabContainer
Наследование: System.Web.UI.WebControls.CommandEventArgs
Пример #1
0
        private void OnSelectTabCommand(object sender, TabCommandEventArgs e)
        {
            int selectedIndex = e.TabIndex;

            if (selectedIndex != _multiView.ActiveViewIndex)
            {
                // will trigger OnActiveViewChanged
                _multiView.ActiveViewIndex = selectedIndex;
                RebuildTabs();
            }
        }
		private void OnSelectTabCommand(object sender, TabCommandEventArgs e)
		{
			int selectedIndex = e.TabIndex;
			if (selectedIndex != _multiView.ActiveViewIndex)
			{
				// will trigger OnActiveViewChanged
				_multiView.ActiveViewIndex = selectedIndex;
				RebuildTabs();
			}
		}