Click or drag to resize

DataContextAddReadOnlyHotLinkField Method

Renders a read-only field with enabled hot links for a given text input field when in view mode.

Namespace: GSF.Web.Model
Assembly: GSF.Web (in GSF.Web.dll) Version: 2.4.181-beta
Syntax
public void AddReadOnlyHotLinkField(
	string fieldID,
	string readOnlyDivID,
	string fieldName,
	bool isTextArea
)
View Source

Parameters

fieldID  String
ID of input field.
readOnlyDivID  String
ID of read-only div.
fieldName  String
Field name.
isTextArea  Boolean
true if field is a textarea; otherwise, false for input[type="text"].
Remarks
These fields will be rendered with clickable URL and e-mail addresses when viewing a record and normal text when adding or updating a record.
See Also