Hi all
I have a radgrid with linkbutton in action column
when i click the linkbutton i am now showing a tooltip with all user details
i want to use tooltipmanager so that i can reduce coding and time taken by the page to load
i want any sample projects or codes apart from the examples given in the online demos so that it make my job easier
Waiting for the earliest reply
Thank to all
I have a radgrid with linkbutton in action column
when i click the linkbutton i am now showing a tooltip with all user details
i want to use tooltipmanager so that i can reduce coding and time taken by the page to load
i want any sample projects or codes apart from the examples given in the online demos so that it make my job easier
Waiting for the earliest reply
Thank to all
7 Answers, 1 is accepted
0
Hello John,
We are adding an example to the RadToolTip online demos title "RadToolTip vs RadToolTipManager". The example demostrates the similarities and differences between the two controls - and uses binding to a RadGrid for the demonstration.
The example will appear in the Q1 SP2 to be released next week. In the meantime, we invite you to read the following blog post and examine the sample application available here:
Blog post: Ever needed a demo using RadControls for ASP.NET AJAX using the Q1 2008 RadControls suite?
Demo: http://www.telerik.com/crmsample/
Download:http://www.telerik.com/community/code-library/submission/b311D-bechtd.aspx
The demo features extensive integration of RadGrid and RadTreeView with RadToolTipManager.
All the best,
Tervel
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
We are adding an example to the RadToolTip online demos title "RadToolTip vs RadToolTipManager". The example demostrates the similarities and differences between the two controls - and uses binding to a RadGrid for the demonstration.
The example will appear in the Q1 SP2 to be released next week. In the meantime, we invite you to read the following blog post and examine the sample application available here:
Blog post: Ever needed a demo using RadControls for ASP.NET AJAX using the Q1 2008 RadControls suite?
Demo: http://www.telerik.com/crmsample/
Download:http://www.telerik.com/community/code-library/submission/b311D-bechtd.aspx
The demo features extensive integration of RadGrid and RadTreeView with RadToolTipManager.
All the best,
Tervel
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
John Yu
Top achievements
Rank 1
answered on 16 Jun 2008, 06:09 AM
Thank you for your Reply
I will go through the links you provided and come back if i have any doubts
I will go through the links you provided and come back if i have any doubts
0
John Yu
Top achievements
Rank 1
answered on 17 Jun 2008, 12:36 PM
Hi Travel
I am showing the Grid with hyperlink which on click opens a tooltip manager where i am passing the userid to the manager which uses usercontrol for showing some details regarding the user.
I have paging in the grid. In the first page, the tooltip manager working fine
but on the second page the manager continously showing the user details of the first page not the second page
How to avoid this
I am showing the Grid with hyperlink which on click opens a tooltip manager where i am passing the userid to the manager which uses usercontrol for showing some details regarding the user.
I have paging in the grid. In the first page, the tooltip manager working fine
but on the second page the manager continously showing the user details of the first page not the second page
How to avoid this
0
Hi John,
Since I do not have your code I am not able to reproduce and locate the problem.
I prepared a simple project, which shows how to tooltipify a RadGrid which has its paging enabled. Please examine it and try to correct your project according to it.
In case this does not help, please open a new support ticket and send me a simple, reproduction project, which is fully runnable (including DB, if needed) or modify mine in order to reproduce the problem. Once I receive it, I will do my best to help.
All the best,
Svetlina
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Since I do not have your code I am not able to reproduce and locate the problem.
I prepared a simple project, which shows how to tooltipify a RadGrid which has its paging enabled. Please examine it and try to correct your project according to it.
In case this does not help, please open a new support ticket and send me a simple, reproduction project, which is fully runnable (including DB, if needed) or modify mine in order to reproduce the problem. Once I receive it, I will do my best to help.
All the best,
Svetlina
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
John Yu
Top achievements
Rank 1
answered on 19 Jun 2008, 05:41 AM
Hi Svetlina,
The sample project you send show me shows the product details in the tooltip
I ran the project in my system,
in the first page of the grid we have product id 1 to 10 which on tooltip shows the details of the corresponding products in the grid
But, when i go to the second page and open the tooltip it shows the product details of the first page products not the second page products
For ex: In first page, product id =10 and product name=ikura and it shows the tooltip correctly. But when i move to the second page of the grid, product id=20 and product name=Sir Rodney's Marmalade, but the tooltip still shows the ikura's product details
Am i Clear to you now.
I dont know whether it causing problem only in my project. If it like that can u let me know what changes i should do
Thanks for the time you spent for me
The sample project you send show me shows the product details in the tooltip
I ran the project in my system,
in the first page of the grid we have product id 1 to 10 which on tooltip shows the details of the corresponding products in the grid
But, when i go to the second page and open the tooltip it shows the product details of the first page products not the second page products
For ex: In first page, product id =10 and product name=ikura and it shows the tooltip correctly. But when i move to the second page of the grid, product id=20 and product name=Sir Rodney's Marmalade, but the tooltip still shows the ikura's product details
Am i Clear to you now.
I dont know whether it causing problem only in my project. If it like that can u let me know what changes i should do
Thanks for the time you spent for me
0
Hello John,
When you change the RadGrid's page, you actually display new records which have different target control ID. In order to achieve the desired behavior, you should update the RadToolTipManager's TargetControls collection.
One possible solution is to clear the TargetControls collection in the RadGrid's PageIndexChanged event handler by adding the following code:
Greetings,
Svetlina
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
When you change the RadGrid's page, you actually display new records which have different target control ID. In order to achieve the desired behavior, you should update the RadToolTipManager's TargetControls collection.
One possible solution is to clear the TargetControls collection in the RadGrid's PageIndexChanged event handler by adding the following code:
protected void RadGrid1_PageIndexChanged(object source, GridPageChangedEventArgs e) |
{ |
RadToolTipManager1.TargetControls.Clear(); |
} |
Greetings,
Svetlina
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Priya
Top achievements
Rank 1
answered on 10 Feb 2009, 04:52 AM
Sir,
I too have the same problem..The tooltipmanager shows wrong data in the second page of the radgrid
Plz help me...its very urgent..
Thanks
I too have the same problem..The tooltipmanager shows wrong data in the second page of the radgrid
<telerik:RadToolTipManager runat="server" ID="RadToolTipManager1" Height="80px" Position="BottomLeft" |
Skin="Web20" Width="250px" RelativeTo="Element" Animation="Resize" HideEvent="LeaveToolTip" |
OnAjaxUpdate="OnAjaxUpdate" AutoCloseDelay="100" ShowEvent="OnMouseOver" ManualClose="true" |
AutoTooltipify="false"> |
</telerik:RadToolTipManager> |
WorkDetailsGrid_ItemDataBound() |
Dim lblSentBy As Label = CType(dataitem.FindControl("lblSentBy"), Label) |
Me.RadToolTipManager1.TargetControls.Add(lblSentBy.ClientID, lblSentBy.Text, True) |
end sub |
Protected Sub RadToolTipManager1_Unload(ByVal sender As Object, ByVal e As System.EventArgs) Handles RadToolTipManager1.Unload |
RadToolTipManager1.TargetControls.Clear() |
End Sub |
Protected Sub WorkDetailsGrid_PageIndexChanged(ByVal source As Object, ByVal e As Telerik.Web.UI.GridPageChangedEventArgs) Handles WorkDetailsGrid.PageIndexChanged |
RadToolTipManager1.TargetControls.Clear() |
End Sub |
Page_Load() |
RadToolTipManager1.TargetControls.Clear() |
end sub |
Protected Sub OnAjaxUpdate(ByVal sender As Object, ByVal args As ToolTipUpdateEventArgs) |
Me.UpdateToolTip(args.Value, args.UpdatePanel) |
End Sub |
Private Sub UpdateToolTip(ByVal elementID As String, ByVal panel As UpdatePanel) |
Dim ctrl As Control = Page.LoadControl("messenger.ascx") |
panel.ContentTemplateContainer.Controls.Add(ctrl) |
Dim details As Messenger = DirectCast(ctrl, Messenger) |
details.Data = elementID |
End Sub |
Plz help me...its very urgent..
Thanks