I have a similar scenario to the online demo Demo . my issue is that when i use a combobox to filter the grid the tooltip manager is not updated. Instead it retains the datakey for the 1st ,2nd record rather than those of the filtered items. Here are snippets of my code...
tool tip manager
grid template column
and my ajax manager
is there a way to make sure that this doesn't happen i.e. via code or client script .
How do I manually clear the tootip and reasign the filtered values???
Public 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("~/UserControls/ControlRoot/TooTips/Tip.ascx") |
panel.ContentTemplateContainer.Controls.Add(ctrl) |
Dim details As EquipmentTip = DirectCast(ctrl, EquipmentTip) |
details.ID = CType(elementID, Int32) |
End Sub |
tool tip manager
<telerik:RadToolTipManager ID="RadToolTipManager1" OffsetY="-1" HideEvent="ManualClose" |
Width="250" Height="350" runat="server" OnAjaxUpdate="OnAjaxUpdate" RelativeTo="Element" |
Position="MiddleRight" Skin="Windows7" ShowDelay="100" Sticky="True"> |
</telerik:RadToolTipManager> |
grid template column
<telerik:GridTemplateColumn HeaderText=" Owner" SortExpression="OwnerStatusDescription"> |
<ItemTemplate> |
<asp:HyperLink ID="targetControl" NavigateUrl="#" runat="server" Text='<%# Eval("OwnerStatusDescription") %>'> </asp:HyperLink> |
</ItemTemplate> |
</telerik:GridTemplateColumn> |
and my ajax manager
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanel1" |
ClientEvents-OnRequestStart="requestExportStart" > |
<ClientEvents OnRequestStart="requestExportStart"></ClientEvents> |
<AjaxSettings> |
<telerik:AjaxSetting AjaxControlID="ComboBox"> |
<UpdatedControls> |
<telerik:AjaxUpdatedControl ControlID="RadToolTipManager1" /> |
<telerik:AjaxUpdatedControl ControlID="Grid" /> |
</UpdatedControls> |
</telerik:AjaxSetting> |
<telerik:AjaxSetting AjaxControlID="Grid"> |
<UpdatedControls> |
<telerik:AjaxUpdatedControl ControlID="RadToolTipManager1" /> |
<telerik:AjaxUpdatedControl ControlID="Grid" /> |
</UpdatedControls> |
</telerik:AjaxSetting> |
</AjaxSettings> |
</telerik:RadAjaxManager> |
is there a way to make sure that this doesn't happen i.e. via code or client script .
How do I manually clear the tootip and reasign the filtered values???