Hi,
I'm struggling to implement this, i'm not sure why.
I've got a RadComboBox, and i've manually implemented the onitemsrequested event of it, to enable custom loading on demand.
I've then attached my tooltip. Both of which are inside an asp:Panel which is ajaxified using the RadAjaxManager.
<
telerik:RadToolTip
ID
=
"tt_searchArea_empty"
runat
=
"server"
TargetControlID
=
"cbo_searchArea"
HideEvent
=
"FromCode"
ShowEvent
=
"FromCode"
RelativeTo
=
"Element"
>
</
telerik:RadToolTip
>
and show it in code behind (search locations is my combobox's datasource).
If
search_locations.Count <= 0
Then
Me
.tt_searchArea_empty.Text =
"Could not find any results for "
""
& e.Text &
""
Me
.tt_searchArea_empty.Show()
End
If
And to hide it, i've attached this client side event OnFocus of my combobox:
var tt = '<%=tt_searchArea_empty.ClientID %>';
tt.hide();