set/change the module position within a pane on a page

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

Syntax

C#
void UpdateModuleOrder(
	int TabId,
	int ModuleId,
	int ModuleOrder,
	string PaneName
)
Visual Basic
Sub UpdateModuleOrder ( 
	TabId As Integer,
	ModuleId As Integer,
	ModuleOrder As Integer,
	PaneName As String
)

Parameters

TabId
Type: System..::..Int32
ID of the page
ModuleId
Type: System..::..Int32
ID of the module on the page
ModuleOrder
Type: System..::..Int32
position within the controls list on page, -1 if to be added at the end
PaneName
Type: System..::..String
name of the pane, the module is placed in on the page

See Also