So what I need to load is a simple list that pops-up when a use hovers over a label for education i want to show the education temr sfroma database. Don't wnat to preload into label as that;s wasteful html. What I would like is a service that hooks to the db and return the list each time someone hovers over the label. I tried using the radtooltip but could find no way to hook up to a web service, I then found radtooltip manage but I cant find a way to hook this up to the label on the page.
<asp:Label ID="lblKey" runat="server" Text="Key" Font-Size="XX-Small" ForeColor="Blue" Font-Underline="true" style="cursor:pointer"></asp:Label> <telerik:RadToolTipManager ID="radEdlvl" runat="server" Position="MiddleLeft" Animation="Fade" Width="100px" Height="200px" RelativeTo="Element" HideDelay="20" Text="Hello" >service, dont know if this will work but cant even see if it works wil the label on page. <WebMethod()> _ Public Function GetToolTip() As String sql = "Select strEducationCode + ' - ' + strEducation from Education order by strEducationCode" myDataTable = New DataTable myDataTable = getReader(sql) If myDataTable.Rows.Count > 0 Then GetToolTip = myDataTable.ToString Else GetToolTip = Nothing End If GetToolTip() End Function