Click or drag to resize
UIHelperEnsureTooltip Method
Ensures tooltip for given control.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax
C#
public static void EnsureTooltip(
	WebControl ctrl,
	string imageUrl,
	int imageWidth,
	int imageHeight,
	string title,
	string name,
	string extension,
	string description,
	string divInlineStyle,
	int tooltipWidth
)

Parameters

ctrl
Type: System.Web.UI.WebControlsWebControl
Control to attach the tooltip
imageUrl
Type: SystemString
Image URL
imageWidth
Type: SystemInt32
Actual width of the image
imageHeight
Type: SystemInt32
Actual height of the image
title
Type: SystemString
File title
name
Type: SystemString
File name
extension
Type: SystemString
File extension
description
Type: SystemString
File description
divInlineStyle
Type: SystemString
Inline style (e.g. 'width: 100px;')
tooltipWidth
Type: SystemInt32
Maximal width of the tooltip
See Also