Click or drag to resize

HTMLGetTooltip Method

Gives HTML code for Tooltip when user option property ShowTootip true (except prameter UserOptionIgnore true)

Namespace:  SOWIWeb.Helper
Assembly:  SOWIWeb.Helper (in SOWIWeb.Helper.dll) Version: 19.1.23.1 (19.1.23.622)
Syntax
public static string GetTooltip(
	string pTooltipText,
	DataPlacements pTooltipPlacement = DataPlacements.bottom,
	bool pUserOptionIgnore = false
)

Parameters

pTooltipText
Type: SystemString
Text to show tooltip
pTooltipPlacement (Optional)
Type: SOWIWeb.HelperDataPlacements
Tooltip placement (default bottom)
pUserOptionIgnore (Optional)
Type: SystemBoolean
User option property ShowTooltip ignore. If value equal true then show tooltip

Return Value

Type: String

[Missing <returns> documentation for "M:SOWIWeb.Helper.HTML.GetTooltip(System.String,SOWIWeb.Helper.DataPlacements,System.Boolean)"]

Remarks
Note Note
Component data attributes e.g. data-toggle

Don't use data attributes from multiple plugins on the same element. For example, a button cannot both have a tooltip and toggle a modal. To accomplish this, use a wrapping element.

Solve: HTML line tag span in span

Examples
Create tooltip HTML code for user interface web object

HTML code for button

<button class="btn btn-default" type="submit" name="submit" value="Save" data-toggle="tooltip" data-placement="bottom" title="help text..." ><span class="glyphicon glyphicon-ok"></span></button>

HTML code for editor label

<label title="help text..." for="UserName" data-toggle="tooltip">Benutzername</label>
See Also