This is a migrated thread and some comments may be shown as answers.

Auto Open Tooltip ?

2 Answers 81 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Saad
Top achievements
Rank 1
Saad asked on 11 Dec 2008, 03:49 PM
I need to open a tooltip on pageload with some values from a database table or class (.cs).
I just want show it like a notification which would be right at the bottom of the page but always visible (whether the page scrolls but it will remain at the bottom of the browser).
And when a user clicks it it will redirect the page towards the some pre-defined url.
I need help in this please!

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 15 Dec 2008, 07:24 AM
Hello Saadi,

To display a tooltip at the bottom of the browser window always, regardless of scrolling you can set the RelativeTo and Position properties for the ToolTip. Also you can set the TargetControlId to as the form Id as shown in the code below:
aspx:
<form id="form1" runat="server"
 <telerik:RadToolTip ID="RadToolTip1" Position="BottomRight" RelativeTo="browserWindow" TargetControlID="form1" runat="server"
            <asp:HyperLink ID="HyperLink1"  NavigateUrl="~/Default4.aspx" runat="server">HyperLink</asp:HyperLink> 
 </telerik:RadToolTip> 
 
</form> 

Thanks
Princy.



0
Svetlina Anati
Telerik team
answered on 15 Dec 2008, 09:57 AM
Hi Saadi,

I am not quite sure about your exact scenario but I suggest to examine this online demo - in it the RadToolTip has its VisibleOnPageLoad property set to true and this makes it show automatically on page load. As to the way of hiding the tooltip, you can find a demonstration of the HideEvent property here.

All the best,
Svetlina
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
ToolTip
Asked by
Saad
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Svetlina Anati
Telerik team
Share this question
or