Allows for DNNNode object to be easily obtained based off of passed in ID

Namespace: DotNetNuke.UI
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public static DNNNode GetActionNode(
	string strID,
	string strNamespace,
	ModuleAction objActionRoot,
	Control objControl
)
Visual Basic
Public Shared Function GetActionNode ( 
	strID As String,
	strNamespace As String,
	objActionRoot As ModuleAction,
	objControl As Control
) As DNNNode

Parameters

strID
Type: System..::..String
NodeID to retrieve
strNamespace
Type: System..::..String
Namespace for node collection (usually control's ClientID)
objActionRoot
Type: DotNetNuke.Entities.Modules.Actions..::..ModuleAction
Root Action object used in searching
objControl
Type: System.Web.UI..::..Control
ActionControl to base actions off of

Return Value

DNNNode

Remarks

Primary purpose of this is to obtain the DNNNode needed for the events exposed by the NavigationProvider

See Also