Hi Piyush,
No, you don't have to use RadToolTip manager. Whether you should use a RadToolTip or a RadToolTip manager with the grid, depends only on your particular scenario. You should not have problems just adding the RadToolTip to a template of a grid column.
In case you use the RadToolTip manager and do not handle the AjaxUpdate event, you will not get a callback before a tooltip opens. In this case the tooltip will show the value of the Title/Tooltip attribute of the tooltipified element.
Generally, the RadToolTip control uses the onmouse over event. For setting the content of the RadToolTip, you can use its OnClientShow client event.
I am afraid I do not understand you last question - "Is it possible that the tooltip control be in an ASP Panel (in each row of grid) and then placing this panel within tooltip control". You cannot have a tooltip inside another tooltip as you cannot have two tooltips open at the same time. In case you mean that you want to place the content of the tooltip inside an ASP Panel and move that panel to the tooltip once it opens - yes you can. However, in case you need not go to the server to execute some code, you can just add that content between the opening and closing tags of the RadToolTip, just as we have done for the RadToolTip3 in
this example:
<telerik:RadToolTip runat="server" ID="RadToolTip3" |
Sticky="true" |
Position="MiddleRight" |
Width="150px" |
Height="70px" |
Animation="Fade" |
ShowEvent="OnClick" |
ShowDelay="0" |
RelativeTo="Element" |
TargetControlId="lbSelectedLanguages"> |
<asp:CheckBoxList ID="cblLanguages" runat="server" CellSpacing="0" CellPadding="0"> |
<asp:ListItem Text="English" Value="en"></asp:ListItem> |
<asp:ListItem Text="German" Value="de"></asp:ListItem> |
<asp:ListItem Text="French" Value="fr"></asp:ListItem> |
</asp:CheckBoxList> |
<asp:Button ID="Button1" runat="server" Text="Select" OnClientClick="InsertLanguages(); return false;" /> |
</telerik:RadToolTip> |
Regards,
Tsvetie
the Telerik team