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

Namespace: CMS.Base.Web.UI
Assembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 12.0.0
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