Click or drag to resize
FormUserControlInfoProviderGetUserControlDefaultDataType Method
Returns string array with two values - default data type and default size. If control is not found then "text" and "500" are returned.

Namespace: CMS.FormEngine
Assembly: CMS.FormEngine (in CMS.FormEngine.dll) Version: 8.2.23
Syntax
C#
public static string[] GetUserControlDefaultDataType(
	string controlName
)

Parameters

controlName
Type: SystemString
Control code name

Return Value

Type: String
Returns string array with two values. First is default data type for control. Second is default size.
See Also