The GetActiveTab method gets the active Tab for the current request

Namespace: DotNetNuke.Entities.Portals
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
TabInfo GetActiveTab(
	int tabId,
	PortalSettings portalSettings
)
Visual Basic
Function GetActiveTab ( 
	tabId As Integer,
	portalSettings As PortalSettings
) As TabInfo

Parameters

tabId
Type: System..::..Int32
The current tab's id
portalSettings
Type: DotNetNuke.Entities.Portals..::..PortalSettings
The current PortalSettings

Return Value

returnsM:DotNetNuke.Entities.Portals.IPortalSettingsController.GetActiveTab(System.Int32,DotNetNuke.Entities.Portals.PortalSettings)

See Also