ToolTipTargetControl
An object of this type can be added as a TargetControl of the RadToolTipManager.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
public class ToolTipTargetControl : StateManager, IMarkableStateManager, IStateManager
Inheritance: objectStateManagerToolTipTargetControl
Implements:
Inherited Members
Constructors
Generic constructor.
public ToolTipTargetControl()
Creates a new target control object based on the provided arguments.
[SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public ToolTipTargetControl(string id, string val, bool isClientID)
An ID (server or client) for the target control.
valstringAn arbitrary value that can be used to provide additional information when loading the content.
isClientIDboolA boolean value indicating whether a server or client ID was provided.
Creates a new target control object based on the provided arguments.
Properties
A flag that indicates what type of ID (server/client) was provided.
public virtual bool IsClientID { get; set; }
A boolean flag.
Must be set according to the value of the TargetControlID property. Must be set to true if ClientID has been passed, otherwise to false.
The target control's ID.
public virtual string TargetControlID { get; set; }
A string that indicates the ID.
According to the ID of the targeted control that you pass the IsClientID property must be set. If it is the server ID set it to false, if it is the ClientID - set it to true. In the case of dynamically created controls their ClientID is available only after they have been added to their container. In INaming container scenarios (e.g. grids) it is better to use the ClientID to avoid duplicates.
An arbitrary value that can be used to provide additional information when loading the content.
public virtual string Value { get; set; }
A string that is generated when adding the target control.
It is passed as a field in the ToolTipUpdateEventArgs object that is passed as event arguments to the OnAjaxUpdate event handler.