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

Namespace: CMS.Base.Web.UI
Assembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 10.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.WebControls.WebControl
Control to attach the tooltip
imageUrl
Type: System.String
Image URL
imageWidth
Type: System.Int32
Actual width of the image
imageHeight
Type: System.Int32
Actual height of the image
title
Type: System.String
File title
name
Type: System.String
File name
extension
Type: System.String
File extension
description
Type: System.String
File description
divInlineStyle
Type: System.String
Inline style (e.g. 'width: 100px;')
tooltipWidth
Type: System.Int32
Maximal width of the tooltip
See Also