Localizes headers and fields on a GridView control

Namespace: DotNetNuke.Services.Localization
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public static void LocalizeGridView(
	ref GridView gridView,
	string resourceFile
)
Visual Basic
Public Shared Sub LocalizeGridView ( 
	ByRef gridView As GridView,
	resourceFile As String
)

Parameters

gridView
Type: System.Web.UI.WebControls..::..GridView%
Grid to localize
resourceFile
Type: System..::..String
The root name of the resource file where the localized texts can be found

Remarks