radMap and marker Tooltips

1 Answer 137 Views
Map
SSirica
Top achievements
Rank 3
Iron
Iron
Iron
SSirica asked on 22 Apr 2022, 02:50 PM | edited on 22 Apr 2022, 02:55 PM

In my maps ItemDataBound event I'm building the markers tooltip.  The tooltip has an image in it that also acts as a hyperlink.  So this works:

Dim TOOLTIP_TEMPLATE As String = "<a href=""Reports.aspx"" target=""_self""><img src=""Images/inventory.png"" /></a>"

This does not:

Dim TOOLTIP_TEMPLATE As String = "<asp:HyperLink runat=""server"" ImageUrl=""Images/inventory.png"" NavigateUrl=""~/Reports.aspx"" ToolTip=""To Inventory""></asp:HyperLink>"
SSirica
Top achievements
Rank 3
Iron
Iron
Iron
commented on 22 Apr 2022, 02:52 PM

FYI the only reason I even attempted to use the asp:Hyperlink was for the ToolTip property.

1 Answer, 1 is accepted

Sort by
0
Accepted
SSirica
Top achievements
Rank 3
Iron
Iron
Iron
answered on 22 Apr 2022, 03:49 PM
Never mind I figured it out.  I get the innerHTML of a DIV and use that as my template.  
Tags
Map
Asked by
SSirica
Top achievements
Rank 3
Iron
Iron
Iron
Answers by
SSirica
Top achievements
Rank 3
Iron
Iron
Iron
Share this question
or