MapperDatasheetEncodeText Method (String, Boolean) |
Encode the provided text for use in the DataGrid. The encoding may vary by target
browser. Example of this include handling truncated text in Safari, and handling hidden
columns in browsers other than IE and Firefox.
Namespace:
NetQuarry.Data.WebMappers
Assembly:
EAP.WebMappers (in EAP.WebMappers.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax protected string EncodeText(
string s,
bool isVisibleCol
)
Protected Function EncodeText (
s As String,
isVisibleCol As Boolean
) As String
Parameters
- s
- Type: SystemString
The string to encode. - isVisibleCol
- Type: SystemBoolean
Specifies whether or not the column is visible to the user.
Return Value
Type:
StringThe encoded text.
See Also