I have a page with 2 Radschedulers, 2 Radgrids, and various labels and links, all contained within a RadAjaxPanel. I'm using the RadTooltipManager for items in each of the grids, and some links outside the grids and schedulers. Everything works fine except when the grid is sorted or refreshed (via a dropdownlist), the tooltips keep the old values. I've cleared the RadTooltipManager TargetControls all over the place, but it still doesn't work. I've tried using multiple RadTooltipManagers or just one. Stepping through the code, it looks fine, like the correct values get added, but when it fires, it's the old data.
I wasn't using a RadAjaxManager at all, so I added that in. It worked, but now I get various errors when firing the other tooltips outside the grid(s). Sometimes it's the "invalid JSON primitive" error, and other times in my testing different things, it's the "already associated with another control" error, depending on how many RadTooltipManagers I use.
Below is a skeleton of the setup...
Again, I'm clearing the TargetControls in the code behind and assigning the tooltips as well. All that seems to be working fine.
In summary, everything was fine without using the RadAjaxManager except the grid tooltips wouldn't reset on refresh or sort.
Once I added the RadAjaxManager, that worked, but now I get errors firing the other tooltips on the page, regardless of using the same RadTooltipManager or different one.
Hopefully that's enough info. Thanks for any info.
I wasn't using a RadAjaxManager at all, so I added that in. It worked, but now I get various errors when firing the other tooltips outside the grid(s). Sometimes it's the "invalid JSON primitive" error, and other times in my testing different things, it's the "already associated with another control" error, depending on how many RadTooltipManagers I use.
Below is a skeleton of the setup...
<telerik:RadToolTipManager runat="server" ID="RadToolTipManager1" Position="BottomRight" Animation="None" ShowEvent="OnMouseOver" ShowCallout="true" RelativeTo="Element" MouseTrailing="False" Width="370px" HideEvent="LeaveToolTip" Skin="Outlook" OnAjaxUpdate="OnAjaxUpdate" BackColor="Red"></telerik:RadToolTipManager><telerik:RadToolTipManager runat="server" ID="RadToolTipManager2" Position="BottomRight" Animation="None" ShowEvent="OnMouseOver" ShowCallout="true" RelativeTo="Element" MouseTrailing="False" Width="370px" HideEvent="LeaveToolTip" Skin="Outlook" OnAjaxUpdate="OnAjaxUpdate" BackColor="Red"></telerik:RadToolTipManager><telerik:RadToolTipManager runat="server" ID="RadToolTipManager3" Position="BottomRight" Animation="None" ShowEvent="OnMouseOver" ShowCallout="true" RelativeTo="Element" MouseTrailing="False" Width="370px" HideEvent="LeaveToolTip" Skin="Outlook" OnAjaxUpdate="OnAjaxUpdate" BackColor="Red"></telerik:RadToolTipManager><telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" LoadingPanelID="LoadingPanel1"> <table width="100%"> ... <asp:HyperLink ID="lblNameWithTooltip" runat="server" /> ... <asp:HyperLink ID="lblName2WithTooltip" runat="server" /> ... <asp:DropDownList ID="DropDownList1"...> ... <telerik:RadGrid ID="RadGrid1"...> <Columns> <telerik:GridTemplateColumn> <ItemTemplate> <asp:HyperLink ID="lnkWithTooltip" runat="server" /> </ItemTemplate> </telerik:GridTemplateColumn> </Columns> </telerik:RadGrid> ... <telerik:RadGrid ID="RadGrid2"...> <Columns> <telerik:GridTemplateColumn> <ItemTemplate> <asp:HyperLink ID="lnkWithTooltip" runat="server" /> </ItemTemplate> </telerik:GridTemplateColumn> </Columns> </telerik:RadGrid> ... <telerik:RadScheduler ID="RadScheduler1"...> ... <telerik:RadScheduler ID="RadScheduler2"...> ... </table></telerik:RadAjaxPanel><telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="RadGrid1"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="RadGrid1" /> <telerik:AjaxUpdatedControl ControlID="RadToolTipManager3" /> </UpdatedControls> </telerik:AjaxSetting> <telerik:AjaxSetting AjaxControlID="DropDownList1"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="DropDownList1" /> <telerik:AjaxUpdatedControl ControlID="RadGrid1" /> <telerik:AjaxUpdatedControl ControlID="RadToolTipManager3" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings></telerik:RadAjaxManager>Again, I'm clearing the TargetControls in the code behind and assigning the tooltips as well. All that seems to be working fine.
In summary, everything was fine without using the RadAjaxManager except the grid tooltips wouldn't reset on refresh or sort.
Once I added the RadAjaxManager, that worked, but now I get errors firing the other tooltips on the page, regardless of using the same RadTooltipManager or different one.
Hopefully that's enough info. Thanks for any info.