
Note, that when the page index is changed, or a sorting has been done, the RadToolTipManager's TargetControls collection is cleared because the records on the new grid's page have the same ClientIDs as the old ones.
i did exactly as you mention in the example. but i am doing little bit change. in "UpdateToolTip" routine. i my case the behavior is little bit change. on Page 2 its showing the Page 1 tool tip. and On Page 3 its Showing Page 2 tool tip. when we comeback on previous page 2 its showing Page3 tooltip. :(
please if you can figureout this problem.
Private Sub UpdateToolTip(ByVal elementID As String, ByVal panel As UpdatePanel)
Dim ctrl As Control = Page.LoadControl("usercontrols/_attractions.ascx")
panel.ContentTemplateContainer.Controls.Add(ctrl)
Dim TempHotel As DataTable = ViewState("AttractionDetails")
Dim i As Integer
Dim TempTable As New DataTable
Dim DC As DataColumn
DC =
New DataColumn
DC.ColumnName =
"HotelCode"
DC.DataType = System.Type.GetType("System.String")
TempTable.Columns.Add(DC)
DC =
New DataColumn
DC.ColumnName =
"AttrName"
DC.DataType = System.Type.GetType(
"System.String")
TempTable.Columns.Add(DC)
DC =
New DataColumn
DC.ColumnName =
"Distance"
DC.DataType = System.Type.GetType(
"System.String")
TempTable.Columns.Add(DC)
Dim FindDR() As DataRow = TempHotel.Select("HotelCode='" & elementID & "'")
For i = 0 To FindDR.Length - 1
Dim DR As DataRow
DR = TempTable.NewRow
DR(0) = FindDR(i).Item(0)
DR(1) = FindDR(i).Item(1)
DR(2) = FindDR(i).Item(2)
TempTable.Rows.Add(DR)
Next
Application(
"TempData") = TempTable
End Sub
becuase my all data is coming from XML Source just for display. i am not fatching this data from the database.
One more thing i want to share not realated with this problem. i need to create a XMLNode like <c:condition> is it posible?
Regards

| <head id="Head1" runat="server"> |
| <title></title> |
| <script type="text/javascript" src="swfobject.js"></script> |
| </head> |
| <body> |
| <form id="form1" runat="server"> |
| <div> |
| <telerik:RadScriptManager ID="RadScriptManager1" runat="server"> |
| </telerik:RadScriptManager> |
| <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" LoadingPanelID="RadAjaxLoadingPanel1"> |
| <asp:ImageButton ID="btnPrev" runat="server" onclick="btnPrev_Click" ImageUrl="images/btnPrev.png"/> |
| <asp:ImageButton ID="btnNext" runat="server" onclick="btnNext_Click" ImageUrl="images/btnNext.png"/></td> |
| <div id="flashContent"> |
| </div> |
| </telerik:RadAjaxPanel> |
| <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Default"> |
| </telerik:RadAjaxLoadingPanel> |
| sSWF += @"<script type=""text/javascript"">"; |
| sSWF += @"var flashvars = false;"; |
| sSWF += @"var params = { menu: ""false"", flashvars: ""FMSServerURL=" + |
| sServer + "&sID=" + sStreamID + |
| "&imgURL=" + imageURL + @""" };"; |
| sSWF += @" var attributes = { id: ""myDynamicContent"", name: ""myDynamicContent"" };"; |
| sSWF += @"swfobject.embedSWF(""presoViewer.swf"", ""flashContent"", """ + swfWidth + @""", """ + swfHeight + @""", ""9.0.0"", """", flashvars, params, attributes);"; |
| sSWF += "</script>"; |
| Type cstype = this.GetType(); |
| ClientScriptManager cs = Page.ClientScript; |
| cs.RegisterStartupScript(cstype, "SWFScript", sSWF, false); |
